mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 09:00:15 +01:00
20 lines
477 B
Bash
20 lines
477 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"
|
||
|
else
|
||
|
fatpack="0"
|
||
|
fi
|
||
|
|
||
|
if [ "${fatpack}" = "1" ]; then
|
||
|
echo 'Add Gnome desktop'
|
||
|
export DEBIAN_FRONTEND=none
|
||
|
sudo apt install gnome -y
|
||
|
fi
|
||
|
|
||
|
echo 'Build RaspiBlitz ...'
|
||
|
bash build_sdcard.sh -f ${fatpack} -u ${github_user} -b ${branch} -d headless -t false -w off -i false
|