From: Michael Prokop Date: Fri, 18 May 2012 13:04:14 +0000 (+0200) Subject: New patch to ignore "unknown" filesystems in is_supported_fs() X-Git-Tag: v3.0_a27-1+grml.2~1 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=e161c2c46e9b01e868a2793ea055ab382df66c2d;p=live-boot-grml.git New patch to ignore "unknown" filesystems in is_supported_fs() Testing: http://bts.grml.org/grml/issue1170 --- 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