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.master
parent
fc5b6b0328
commit
9f5c98a76a
|
|
@ -77,7 +77,7 @@ installkernel() {
|
||||||
install() {
|
install() {
|
||||||
local _f i
|
local _f i
|
||||||
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
|
[ -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_hook cmdline 01 "$moddir/parse-kernel.sh"
|
||||||
inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
|
inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue