From d9780275dfcbdcf3b5d8c8acac9ff4d218a7e620 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 28 May 2012 12:23:10 +0200 Subject: [PATCH] 35_fix_findiso_umount.patch: make sure ISO gets unmounted correctly when using findiso/toram Thanks: Christoph Biedl for the bugreport and the patch --- debian/patches/35_fix_findiso_umount.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/35_fix_findiso_umount.patch diff --git a/debian/patches/35_fix_findiso_umount.patch b/debian/patches/35_fix_findiso_umount.patch new file mode 100644 index 0000000..1a27f57 --- /dev/null +++ b/debian/patches/35_fix_findiso_umount.patch @@ -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 \ diff --git a/debian/patches/series b/debian/patches/series index 940eeb2..92029f4 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -15,3 +15,4 @@ 32_add_kms.patch 33_retry_phram.patch 34_ignore_unknown_filesystems.patch +35_fix_findiso_umount.patch -- 2.1.4