X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-live;h=41ab78ad537c24dea256063a4fe30f88f2b0400b;hb=c312e1767073e228ed2e0e666da9f6351eb61bfb;hp=b4161dd63fbe9457f03d8ab5a0acd97ec9caa0ef;hpb=bec1e6582b34f6b44e4541618b84547a72653682;p=grml-live.git diff --git a/grml-live b/grml-live index b4161dd..41ab78a 100755 --- a/grml-live +++ b/grml-live @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Fri Feb 15 16:08:28 CET 2008 [mika] +# Latest change: Sun Feb 17 00:44:47 CET 2008 [mika] ################################################################################ # read configuration files, set some misc variables {{{ @@ -15,7 +15,7 @@ export LC_ALL=C # exit on any error: set -e -GRML_LIVE_VERSION='0.4' +GRML_LIVE_VERSION='0.5' CMDLINE="$0 $@" ISO_DATE="$(date +%Y-%m-%d)" @@ -548,7 +548,7 @@ else eerror 'Error: Unsupported ARCH, sorry. Want to support it? Contribute!' ; eend 1 fi -if [ -f "$BUILD_OUTPUT"/live/grml.squashfs -a -z "$UPDATE" -a -z "$BUILD_ONLY" ] ; then +if [ -f "$BUILD_OUTPUT"/live/${GRML_NAME}.squashfs -a -z "$UPDATE" -a -z "$BUILD_ONLY" ] ; then log "$BUILD_OUTPUT/live exists already, skipping stage 'squashfs'" ewarn "$BUILD_OUTPUT/live exists already, skipping stage 'squashfs'" ; eend 0 else @@ -558,10 +558,10 @@ else # execute squashfs: if mksquashfs --help 2>&1 | grep -q -- -no-progress ; then - log "mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/grml.squashfs -noappend -no-progress" + log "mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/${GRML_NAME}.squashfs -noappend -no-progress" mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/"${GRML_NAME}".squashfs -noappend -no-progress $SQUASHFS_OPTIONS $SQUASHFS_ZLIB else - log "mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/grml.squashfs -noappend" + log "mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/${GRML_NAME}.squashfs -noappend" mksquashfs $CHROOT_OUTPUT/* $BUILD_OUTPUT/live/"${GRML_NAME}".squashfs -noappend $SQUASHFS_OPTIONS $SQUASHFS_ZLIB fi log "Finished execution of stage 'squashfs' [$(date)]"