New patch to ignore "unknown" filesystems in is_supported_fs()
authorMichael Prokop <mika@grml.org>
Fri, 18 May 2012 13:04:14 +0000 (15:04 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 18 May 2012 13:04:14 +0000 (15:04 +0200)
Testing: http://bts.grml.org/grml/issue1170

debian/patches/34_ignore_unknown_filesystems.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/34_ignore_unknown_filesystems.patch b/debian/patches/34_ignore_unknown_filesystems.patch
new file mode 100644 (file)
index 0000000..d269d0b
--- /dev/null
@@ -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
index 0e03531..940eeb2 100644 (file)
@@ -14,3 +14,4 @@
 31_package_rename.patch
 32_add_kms.patch
 33_retry_phram.patch
+34_ignore_unknown_filesystems.patch