From: Harald Hoyer Date: Mon, 14 Aug 2017 12:58:47 +0000 (+0200) Subject: kernel-modules: don't call instmods with empty arguments X-Git-Tag: 047~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bd3ef5819141b06eb4d5c9e139e047efccb6d1f;p=thirdparty%2Fdracut.git kernel-modules: don't call instmods with empty arguments otherwise it will try to read from stdin and stall --- diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index 462b54176..c6405e957 100755 --- a/modules.d/90kernel-modules/module-setup.sh +++ b/modules.d/90kernel-modules/module-setup.sh @@ -57,7 +57,7 @@ installkernel() { if [[ -z $filesystems ]]; then dracut_instmods -o -P ".*/(kernel/fs/nfs|kernel/fs/nfsd|kernel/fs/lockd)/.*" '=fs' fi - else + elif [[ "${host_fs_types[*]}" ]]; then hostonly='' instmods "${host_fs_types[@]}" fi fi