Removed ONESHELL hack and instead created two seperate scripts

This commit is contained in:
Philip Trauner 2018-04-09 19:37:08 +02:00
parent f6055012ce
commit c82d123c28
3 changed files with 62 additions and 52 deletions

16
prepare.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
set -e
set -x
sudo -v
while true; do sudo -n true; sleep 60; kill -0 \"$$\" || exit; done 2>/dev/null &
mkdir -p build
cd scripts
./setup-root-fs.sh
sudo ./make-sd-card.sh
./linux-dtbs.sh
sudo ./debian.sh