From: Michael Prokop Date: Tue, 2 Mar 2010 01:31:58 +0000 (+0100) Subject: Do not unmount ISO loopback mount point in finalize(). X-Git-Tag: v0.37^0 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=ed4b1a72c781d07e86ae653f2fc6b2c916138f45 Do not unmount ISO loopback mount point in finalize(). --- diff --git a/debian/changelog b/debian/changelog index 882fb37..e4ece78 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-debootstrap (0.37) unstable; urgency=low + + * Do not unmount ISO loopback mount point in finalize(). + + -- Michael Prokop Tue, 02 Mar 2010 02:30:32 +0100 + grml-debootstrap (0.36) unstable; urgency=low * Add support for specifying filesystem that should be created diff --git a/grml-debootstrap b/grml-debootstrap index 8c063cd..30e9c79 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -11,7 +11,7 @@ set -e # exit on any error # variables {{{ PN="$(basename $0)" -VERSION='0.36' +VERSION='0.37' MNTPOINT="/mnt/debootstrap.$$" # inside the chroot system locales might not be available, so use minimum: @@ -1001,12 +1001,6 @@ done # }}} # finalize {{{ -if [ -n "$ISODIR" ] ; then - einfo "Unmounting Debian image loopback from $MNTPOINT/$ISODIR." - umount "$MNTPOINT/$ISODIR" - eend $? -fi - einfo "Removing ${CHROOT_VARIABLES}" ; rm "$CHROOT_VARIABLES" ; eend $? einfo "Removing ${STAGES}" ; rmdir "$STAGES" ; eend $?