Merge branch 'master' into 'master'
authorRaphaël Hertzog <hertzog@debian.org>
Fri, 6 Sep 2019 14:27:19 +0000 (14:27 +0000)
committerRaphaël Hertzog <hertzog@debian.org>
Fri, 6 Sep 2019 14:27:19 +0000 (14:27 +0000)
Fix the issue that fails to boot from removable NTFS device

See merge request live-team/live-boot!20

Closes: #939034

components/9990-misc-helpers.sh

index 1b89e59..75338e0 100755 (executable)
@@ -472,6 +472,14 @@ is_supported_fs ()
        fi
 
        # Try to look if it is already supported by the kernel
+       # For ntfs, since user space program ntfs-3g will be used. Check ntfs-3g instead of kernel module.
+       if [ "${fstype}" = "ntfs" ]; then
+               if type ntfs-3g >/dev/null 2>&1; then
+                       return 0
+               else
+                       return 1
+               fi
+       fi
        if grep -q ${fstype} /proc/filesystems
        then
                return 0