projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc5b6b0
)
kernel-modules/module-setup.sh: also install /lib/modprobe.d/*.conf
author
Harald Hoyer
<harald@redhat.com>
Wed, 11 Jul 2012 06:42:21 +0000
(08:42 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 11 Jul 2012 06:42:21 +0000
(08:42 +0200)
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
patch
|
blob
|
history
diff --git
a/modules.d/90kernel-modules/module-setup.sh
b/modules.d/90kernel-modules/module-setup.sh
index
8822fa7
..
1744e53
100755
(executable)
--- 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
}