Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Log mkisofs and squashfs cmdlines as well
authorMichael Prokop
Sun Nov 25 22:15:11 2007 +0100 (12 months ago)
changeset 3320b598d22ee39
manifest0b598d22ee39
parent 3319d2947cc91a0
child 333e8d55762d138
Log mkisofs and squashfs cmdlines as well
debian/changelog
grml-live
--- a/debian/changelog Sun Nov 25 21:17:14 2007 +0100
+++ b/debian/changelog Sun Nov 25 22:15:11 2007 +0100
@@ -7,7 +7,8 @@ grml-live (0.0.10) unstable; urgency=low
- LOGDIR is now /var/log/fai/$HOSTNAME/$FAI_ACTION_date+time
- LOGDIR is /tmp/fai during an installation (not dirinstall), and
will be copied to the path above at the end of an installation
- * Log the executed FAI command line to /var/log/grml-live.log.
+ * Log the executed FAI, squashfs and mkisofs command lines to
+ /var/log/grml-live.log.
* New option '-C <configuration_file>' for specifying a configuration
file. Needs heavy testing though, because the files are updated
during runtime it isn't as easy as expected to be. :-/
--- a/grml-live Sun Nov 25 21:17:14 2007 +0100
+++ b/grml-live Sun Nov 25 22:15:11 2007 +0100
@@ -531,6 +531,7 @@ if [ -f "$BUILD_OUTPUT"/live/grml.squash
ewarn "$BUILD_OUTPUT/live exists already, skipping stage 'squashfs'" ; eend 0
else
[ -d "$BUILD_OUTPUT"/live ] || mkdir "$BUILD_OUTPUT"/live
+ 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)]"
einfo "Finished execution of stage 'squashfs'" ; eend 0
@@ -558,6 +559,7 @@ else
mkdir -p "$ISO_OUTPUT" || bailout 6 "Problem with creating $ISO_OUTPUT for stage 'iso build'"
CURRENT_DIR=$(pwd)
cd "$BUILD_OUTPUT" &&
+ log "mkisofs -V grml $VERSION -publisher 'grml-live | grml.org' -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b $BOOT_FILE -o ${ISO_OUTPUT}/${ISO_NAME} ."
mkisofs -V "grml $VERSION" -publisher 'grml-live | grml.org' \
-l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table \
-b $BOOT_FILE \