raspiblitz/ci/arm64-rpi/build.raspiblitz.sh
openoms b57aba6acf
Debian12 Bookworm for RPi in ci (#4238)
* update RPi base image to Debian12 Bookworm in ci
* ci: remove  -d headless for rpi
* docs: ready made images for arm64-rpi
* update python deps, add rsyslog, armbian_deps
* hide wget progress in lean build, keep errors
* apt-get instead of apt
* enable ssh
* apt-get everywhere, remove only if present
* use --quiet for wget for cleaner logs
2023-11-22 07:28:54 +00:00

15 lines
414 B
Bash

#!/bin/sh -eux
echo 'Download the build_sdcard.sh script ...'
wget https://raw.githubusercontent.com/${github_user}/raspiblitz/${branch}/build_sdcard.sh
if [ "${pack}" = "fatpack" ]; then
fatpack="1"
# make /dev/shm world writable for qemu
sudo chmod 777 /dev/shm
else
fatpack="0"
fi
echo 'Build RaspiBlitz ...'
bash build_sdcard.sh -f ${fatpack} -u ${github_user} -b ${branch} -t false -w off -i false