08211a18b7
- more systemd journal fixes - nfs module fix - install also /lib/modprobe.d/* - fixed dracut-shutdown service - safeguards for dracut-install - for --include also copy symlinks
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From 9f5c98a76a2c319045c7f6091a1083da1b74f740 Mon Sep 17 00:00:00 2001
|
|
From: Harald Hoyer <harald@redhat.com>
|
|
Date: Wed, 11 Jul 2012 08:42:21 +0200
|
|
Subject: [PATCH] kernel-modules/module-setup.sh: also install
|
|
/lib/modprobe.d/*.conf
|
|
|
|
In theory we should only install /lib/modprobe.d/*.conf and only for
|
|
host-only the /etc/modprobe.d.
|
|
---
|
|
modules.d/90kernel-modules/module-setup.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
|
|
index 8822fa7..1744e53 100755
|
|
--- a/modules.d/90kernel-modules/module-setup.sh
|
|
+++ b/modules.d/90kernel-modules/module-setup.sh
|
|
@@ -77,7 +77,7 @@ installkernel() {
|
|
install() {
|
|
local _f i
|
|
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
|
|
- dracut_install $(find -L /etc/modprobe.d/ -maxdepth 1 -type f -name '*.conf')
|
|
+ dracut_install $(find -L /{etc,lib}/modprobe.d/ -maxdepth 1 -type f -name '*.conf')
|
|
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
|
|
inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
|
|
}
|