diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-05-20 16:10:09 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-05-22 19:55:45 +0300 |
commit | 1df92f9eef9bea0935147c3e782c1fd63c1aa37f (patch) | |
tree | 5022290b84bb2f8a41dd68889374111c520d68b1 /batch.sh | |
parent | addd0a8bec9dde406fa80075226a374e7b0ba868 (diff) |
split building steps
Diffstat (limited to 'batch.sh')
-rwxr-xr-x | batch.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -15,11 +15,12 @@ IP=$1 # First argument is the QEMU Raspbian IP address IMGBASE="NextCloudPi_$( date "+%m-%d-%y" )_base.img" -NO_CONFIG=1 NO_HALT_STEP=1 ./install-nextcloud.sh $IP $IMGBASE -NO_CONFIG=1 ./installer.sh nextcloud.sh $IP $( ls -1t *.img | head -1 ) +NO_CONFIG=1 NO_HALT_STEP=1 ./install-nextcloud.sh $IP $IMGBASE +NO_CONFIG=1 ./installer.sh nextcloudpi.sh $IP $( ls -1t *.img | head -1 ) +NO_CONFIG=1 ./installer.sh nextcloud.sh $IP $( ls -1t *.img | head -1 ) IMGFILE=$( ls -1t *.img | head -1 ) -IMGOUT=$( basename "$IMGFILE" _base_nextcloud.img ).img +IMGOUT=$( basename "$IMGFILE" _base ).img pack_image "$IMGFILE" "$IMGOUT" md5sum $( ls -1t *.img | head -1 ) |