kernel-modules: handle rd.driver.* in systemd mode in dracut-pre-udev

master
Harald Hoyer 2013-03-06 16:43:49 +01:00
parent 41eba87b32
commit 6ae68b4674
1 changed files with 3 additions and 1 deletions

View File

@ -72,6 +72,8 @@ installkernel() {
install() {
dracut_install -o /lib/modprobe.d/*.conf
[[ $hostonly ]] && dracut_install -o /etc/modprobe.d/*.conf /etc/modprobe.conf
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
if ! dracut_module_included "systemd"; then
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
fi
inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
}