[SCM] live-boot branch, debian-old-3.0, updated. debian/3.0_b4-1-3-g5078ff3

Daniel Baumann daniel at debian.org
Sun Sep 30 08:00:56 UTC 2012


The following commit has been merged in the debian-old-3.0 branch:
commit 5078ff3dd0fd6b5c2d9e1606ecceb4ea5bf47946
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Sep 30 09:59:45 2012 +0200

    Applying slightly modified patch from Reinhard Tartler <siretart at tauware.de> to ensure that a potentially stray tmpfs on /live/overlay gets removed to fix netboot failures (Closes: #685375).

diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh
index 3ee382e..55254c7 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/scripts/boot/9990-overlay.sh
@@ -425,4 +425,8 @@ setup_unionfs ()
 		mount -o bind /live/overlay "${rootmnt}/lib/live/overlay" || \
 		log_warning_msg "W: failed to mount /live/overlay to ${rootmnt}/lib/live/overlay"
 
+        # ensure that a potentially stray tmpfs gets removed
+        # otherways, initramfs-tools is unable to remove /live
+        # and fails to boot
+        umount /live/overlay || true
 }

-- 
live-boot



More information about the debian-live-changes mailing list