refresh patches against Debian's 3.0~b6-1
[live-boot-grml.git] / debian / patches / 34_ignore_unknown_filesystems.patch
1 --- a/scripts/boot/9990-misc-helpers.sh
2 +++ b/scripts/boot/9990-misc-helpers.sh
3 @@ -507,6 +507,12 @@
4                 return 1
5         fi
6  
7 +       # get_fstype might report "unknown" or "swap", ignore it as no such kernel module exists
8 +       if [ "${fstype}" = "unknown" ] || [ "${fstype}" = "swap" ]
9 +       then
10 +               return 1
11 +       fi
12 +
13         # Try to look if it is already supported by the kernel
14         if grep -q ${fstype} /proc/filesystems
15         then