From e161c2c46e9b01e868a2793ea055ab382df66c2d Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 18 May 2012 15:04:14 +0200 Subject: [PATCH] New patch to ignore "unknown" filesystems in is_supported_fs() Testing: http://bts.grml.org/grml/issue1170 --- debian/patches/34_ignore_unknown_filesystems.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/34_ignore_unknown_filesystems.patch diff --git a/debian/patches/34_ignore_unknown_filesystems.patch b/debian/patches/34_ignore_unknown_filesystems.patch new file mode 100644 index 0000000..d269d0b --- /dev/null +++ b/debian/patches/34_ignore_unknown_filesystems.patch @@ -0,0 +1,15 @@ +--- a/scripts/live-helpers ++++ b/scripts/live-helpers +@@ -507,6 +507,12 @@ + return 1 + fi + ++ # get_fstype might report "unknown", ignore it as no such kernel module exists ++ if [ "${fstype}" = "unknown" ] ++ then ++ return 1 ++ fi ++ + # Try to look if it is already supported by the kernel + if grep -q ${fstype} /proc/filesystems + then diff --git a/debian/patches/series b/debian/patches/series index 0e03531..940eeb2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -14,3 +14,4 @@ 31_package_rename.patch 32_add_kms.patch 33_retry_phram.patch +34_ignore_unknown_filesystems.patch -- 2.1.4