raspiblitz/ci/arm64-rpi/build.raspiblitz.sh
2024-03-19 15:24:25 +01:00

18 lines
462 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"
display="lcd"
else
fatpack="0"
display="headless"
fi
# make /dev/shm world writable for qemu
sudo chmod 777 /dev/shm
echo 'Build RaspiBlitz ...'
bash build_sdcard.sh -f ${fatpack} -u ${github_user} -b ${branch} -t false -w off -i false -d ${display}