35_fix_findiso_umount.patch: make sure ISO gets unmounted correctly when using findis...
authorMichael Prokop <mika@grml.org>
Mon, 28 May 2012 10:23:10 +0000 (12:23 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 28 May 2012 10:23:10 +0000 (12:23 +0200)
Thanks: Christoph Biedl for the bugreport and the patch

debian/patches/35_fix_findiso_umount.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/35_fix_findiso_umount.patch b/debian/patches/35_fix_findiso_umount.patch
new file mode 100644 (file)
index 0000000..1a27f57
--- /dev/null
@@ -0,0 +1,13 @@
+Purpose: make sure the ISO gets unmounted correctly when booted via findiso/toram
+
+--- a/scripts/live
++++ b/scripts/live
+@@ -1684,7 +1684,7 @@
+       then
+               losetup -d /dev/loop0
+-              if is_mountpoint /live/findiso
++              if is_mountpoint /root/live/findiso
+               then
+                       umount /root/live/findiso
+                       rmdir --ignore-fail-on-non-empty /root/live/findiso \
index 940eeb2..92029f4 100644 (file)
@@ -15,3 +15,4 @@
 32_add_kms.patch
 33_retry_phram.patch
 34_ignore_unknown_filesystems.patch
+35_fix_findiso_umount.patch