Warning!

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

Remove base.tgz from chroot directory
authorMichael Prokop
Mon Nov 26 00:47:57 2007 +0100 (12 months ago)
changeset 3340b4d6a34b244
manifest0b4d6a34b244
parent 333e8d55762d138
child 335f96c13ae469d
Remove base.tgz from chroot directory
debian/changelog
grml-live
--- a/debian/changelog Mon Nov 26 00:45:24 2007 +0100
+++ b/debian/changelog Mon Nov 26 00:47:57 2007 +0100
@@ -30,6 +30,7 @@ grml-live (0.0.10) unstable; urgency=low
* Make sure we have pinning for grml-stable and grml-testing
repositories via /etc/grml/fai/apt/preferences, not matter where
the packages come from (web vs. local mirror/cache for example).
+ * Remove base.tgz from chroot directory.
* Do not create /etc/sysconfig/network-scripts and
/etc/sysconfig/provider any longer in cleanup script.
* Fix typo in bootsplash f3 (thanks, jimmy).
--- a/grml-live Mon Nov 26 00:45:24 2007 +0100
+++ b/grml-live Mon Nov 26 00:47:57 2007 +0100
@@ -531,6 +531,10 @@ 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
+ # 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)]"