qubes-core-admin-linux/dracut/modules.d/90qubes-pciback/module-setup.sh
Marek Marczykowski-Górecki 167f30d063 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).
2014-04-14 04:12:51 +02:00

14 lines
310 B
Bash
Executable File

#!/bin/bash
install() {
inst_hook cmdline 02 "$moddir/qubes-pciback.sh"
inst lspci
inst grep
inst awk
}
installkernel() {
modinfo -k $kernel pciback > /dev/null 2>&1 && hostonly='' instmods pciback
modinfo -k $kernel xen-pciback > /dev/null 2>&1 && hostonly='' instmods xen-pciback
}