X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=0c3b5fe8087806a500361264fc5e7bc46090776c;hp=e525e8927d54177c747d6c3f327c2796ce0bd9ed;hb=50ba767cfc6a3e3bd3df02b3886e6e818afbda2c;hpb=856c087ec1e9e280ea3ad921d91dc2bd6e77a633 diff --git a/grml-live b/grml-live index e525e89..0c3b5fe 100755 --- a/grml-live +++ b/grml-live @@ -531,6 +531,10 @@ if [ -f "$BUILD_OUTPUT"/live/grml.squashfs -a -z "$UPDATE" ] ; then ewarn "$BUILD_OUTPUT/live exists already, skipping stage 'squashfs'" ; eend 0 else [ -d "$BUILD_OUTPUT"/live ] || mkdir "$BUILD_OUTPUT"/live + # make sure we don't leave (even an empty) base.tgz: + [ -f "$CHROOT_OUTPUT/base.tgz" ] && rm -f "$CHROOT_OUTPUT/base.tgz" + + # execute squashfs: log "mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/grml.squashfs -noappend" mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/grml.squashfs -noappend log "Finished execution of stage 'squashfs' [$(date)]"