diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-03-18 14:07:00 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-03-18 23:18:46 +0300 |
commit | 1e12154fc693384904037710334e441ed012b5e8 (patch) | |
tree | b1885368a30e27230b4d538f7347029f17359606 /buildlib.sh | |
parent | 423ea0ed00507074673ca568544fd59df144f263 (diff) |
build: fix SD card generation and provisioning
Diffstat (limited to 'buildlib.sh')
-rw-r--r-- | buildlib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib.sh b/buildlib.sh index 5121ad14..4f024818 100644 --- a/buildlib.sh +++ b/buildlib.sh @@ -23,7 +23,7 @@ function launch_install_qemu() local NUM=$( sed 's=.*-stage\([[:digit:]]\)=\1=' <<< "$IMG" ) [[ "$BASE" == "$IMG" ]] && NUM=0 - local NUM_REBOOTS=$( grep -c reboot "$INSTALL_SCRIPT" ) + local NUM_REBOOTS=$( grep -c "nohup reboot" "$INSTALL_SCRIPT" ) while [[ $NUM_REBOOTS != -1 ]]; do NUM=$(( NUM+1 )) IMGOUT="$BASE-stage$NUM" |