dracut: fix loading xen-pciback module into initramfs

instmods will not install module in hostonly mode, so forcefully disable
hostonly mode (this is the way recommended by dracut documentation).
This commit is contained in:
Marek Marczykowski-Górecki 2014-04-14 04:12:51 +02:00
parent aea6b3c1f5
commit 167f30d063

View File

@ -8,6 +8,6 @@ install() {
}
installkernel() {
modinfo -k $kernel pciback > /dev/null 2>&1 && instmods pciback
modinfo -k $kernel xen-pciback > /dev/null 2>&1 && instmods xen-pciback
modinfo -k $kernel pciback > /dev/null 2>&1 && hostonly='' instmods pciback
modinfo -k $kernel xen-pciback > /dev/null 2>&1 && hostonly='' instmods xen-pciback
}