|
Harald Hoyer |
87cf60 |
From 3bd3ef5819141b06eb4d5c9e139e047efccb6d1f Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
87cf60 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
87cf60 |
Date: Mon, 14 Aug 2017 14:58:47 +0200
|
|
Harald Hoyer |
87cf60 |
Subject: [PATCH] kernel-modules: don't call instmods with empty arguments
|
|
Harald Hoyer |
87cf60 |
|
|
Harald Hoyer |
87cf60 |
otherwise it will try to read from stdin and stall
|
|
Harald Hoyer |
87cf60 |
---
|
|
Harald Hoyer |
87cf60 |
modules.d/90kernel-modules/module-setup.sh | 2 +-
|
|
Harald Hoyer |
87cf60 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
87cf60 |
|
|
Harald Hoyer |
87cf60 |
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
|
|
Harald Hoyer |
87cf60 |
index 462b5417..c6405e95 100755
|
|
Harald Hoyer |
87cf60 |
--- a/modules.d/90kernel-modules/module-setup.sh
|
|
Harald Hoyer |
87cf60 |
+++ b/modules.d/90kernel-modules/module-setup.sh
|
|
Harald Hoyer |
87cf60 |
@@ -57,7 +57,7 @@ installkernel() {
|
|
Harald Hoyer |
87cf60 |
if [[ -z $filesystems ]]; then
|
|
Harald Hoyer |
87cf60 |
dracut_instmods -o -P ".*/(kernel/fs/nfs|kernel/fs/nfsd|kernel/fs/lockd)/.*" '=fs'
|
|
Harald Hoyer |
87cf60 |
fi
|
|
Harald Hoyer |
87cf60 |
- else
|
|
Harald Hoyer |
87cf60 |
+ elif [[ "${host_fs_types[*]}" ]]; then
|
|
Harald Hoyer |
87cf60 |
hostonly='' instmods "${host_fs_types[@]}"
|
|
Harald Hoyer |
87cf60 |
fi
|
|
Harald Hoyer |
87cf60 |
fi
|
|
Harald Hoyer |
87cf60 |
|