perform docker state build if folder doesn't exist

This commit is contained in:
Aiden McClelland
2022-02-01 18:33:49 -07:00
committed by Keagan McClelland
parent 4c14ce70c6
commit cd494f4f4b
2 changed files with 4 additions and 5 deletions

View File

@@ -39,7 +39,6 @@ sudo mv /tmp/eos-mnt/config.txt.tmp /tmp/eos-mnt/config.txt
# Unmount the boot partition and mount embassy partition
sudo umount /tmp/eos-mnt
sudo mount ${OUTPUT_DEVICE}p2 /tmp/eos-mnt
sudo touch /tmp/eos-mnt/system-rebuild # rebuild docker state on first startup
if [ "$NO_KEY" != "1" ]; then sudo cp product_key.txt /tmp/eos-mnt; else echo "This image is being written with no product key"; fi
sudo umount /tmp/eos-mnt