kernel-modules: Find (and ulitmately dereference) any symlinks in modprobe.d dir.
Also only do the top level of files (ignore any subdirs and files within)master
parent
5fae9d9a20
commit
fa20c18525
|
|
@ -70,7 +70,7 @@ installkernel() {
|
||||||
install() {
|
install() {
|
||||||
local _f
|
local _f
|
||||||
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
|
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
|
||||||
for i in $(find /etc/modprobe.d/ -type f -name '*.conf'); do
|
for i in $(find -L /etc/modprobe.d/ -maxdepth 1 -type f -name '*.conf'); do
|
||||||
inst_simple "$i"
|
inst_simple "$i"
|
||||||
done
|
done
|
||||||
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
|
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue