diff options
author | Thomas Bächler <thomas@archlinux.org> | 2011-01-12 01:12:45 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-01-12 01:12:45 +0100 |
commit | 1c9a57232165a2b48678848e739a14d0bd2687b3 (patch) | |
tree | 16b2b2991959421b6b11ffb7aa768782f4667749 /install/filesystems | |
parent | bdd563a5d2d17bcc1ce417766b62a9bc9dea4f71 (diff) | |
download | mkinitcpio-1c9a57232165a2b48678848e739a14d0bd2687b3.tar.gz mkinitcpio-1c9a57232165a2b48678848e739a14d0bd2687b3.tar.xz |
If filesystem autodetection fails, use all_modules instead of checked_modules
Diffstat (limited to 'install/filesystems')
-rw-r--r-- | install/filesystems | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/install/filesystems b/install/filesystems index ec637ce..cd1a4cb 100644 --- a/install/filesystems +++ b/install/filesystems @@ -2,7 +2,11 @@ install () { - MODULES=" $(checked_modules '/kernel/fs' | grep -v "nls")" + if [ "${autodetect_fs_detection_failed}" = "1" ]; then + MODULES=" $(all_modules '/kernel/fs' | grep -v "nls")" + else + MODULES=" $(checked_modules '/kernel/fs' | grep -v "nls")" + fi BINARIES="" FILES="" SCRIPT="" |