Blame 0074-kernel-modules-module-setup.sh-also-install-lib-modp.patch

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