Update of /cvsroot/devil-linux/build/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9070
Modified Files:
build-iso
Log Message:
remove squash image first, otherwise weird things will happen on consecutive runs
Index: build-iso
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/build-iso,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- build-iso 26 Dec 2015 23:54:06 -0000 1.95
+++ build-iso 29 Dec 2015 13:27:44 -0000 1.96
@@ -239,7 +239,8 @@
# store version info
echo $DL_VERSION > $CDDIR/DEVIL-LINUX
- mksquashfs $CDDIR $WORKDIR/bootcd.squash -comp lz4 -Xhc -b 256k -no-exports -no-recovery
+ test -f $WORKDIR/bootcd.squash && rm -f $WORKDIR/bootcd.squash
+ mksquashfs $CDDIR $WORKDIR/bootcd.squash -comp lz4 -Xhc -b 256k -no-exports -no-recovery || exit 1
# create the ISO
echo "Creating the true ISO directory structure"
|