#4477 packer min-build without display

This commit is contained in:
rootzoll 2024-03-19 15:24:25 +01:00
parent 24a3c06a35
commit 2c56f5248b

View file

@ -5,12 +5,14 @@ wget https://raw.githubusercontent.com/${github_user}/raspiblitz/${branch}/build
if [ "${pack}" = "fatpack" ]; then if [ "${pack}" = "fatpack" ]; then
fatpack="1" fatpack="1"
display="lcd"
else else
fatpack="0" fatpack="0"
display="headless"
fi fi
# make /dev/shm world writable for qemu # make /dev/shm world writable for qemu
sudo chmod 777 /dev/shm sudo chmod 777 /dev/shm
echo 'Build RaspiBlitz ...' echo 'Build RaspiBlitz ...'
bash build_sdcard.sh -f ${fatpack} -u ${github_user} -b ${branch} -t false -w off -i false bash build_sdcard.sh -f ${fatpack} -u ${github_user} -b ${branch} -t false -w off -i false -d ${display}