dracut: change the way to include ehci-pci module

Apparently add_drivers doesn't work. Looking at kernel-modules dracut
code, it can only be used for block-device driver and only makes sense
in --host-only mode.
So add additional module, which unconditionally install kernel modules.
This commit is contained in:
Marek Marczykowski-Górecki 2013-06-14 04:03:47 +02:00
parent efe4c6168e
commit b4ab187793
4 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1 @@
add_dracutmodules+=" extra-modules "

View File

@ -1 +0,0 @@
add_drivers+=" ehci-pci "

View File

@ -0,0 +1,7 @@
#!/bin/bash
# Install some missing modules
installkernel() {
# ehci-hcd split off
instmods ehci-pci ehci-platform || :
}

View File

@ -217,6 +217,8 @@ mv -f /lib/udev/rules.d/69-xorg-vmmouse.rules /var/lib/qubes/removed-udev-script
/etc/dracut.conf.d/*
%dir %{_dracutmoddir}/90qubes-pciback
%{_dracutmoddir}/90qubes-pciback/*
%dir %{_dracutmoddir}/90extra-modules
%{_dracutmoddir}/90extra-modules/*
# Qrexec
%attr(4750,root,qubes) /usr/lib/qubes/qrexec-daemon
/usr/lib/qubes/qrexec-client