167f30d063
instmods will not install module in hostonly mode, so forcefully disable hostonly mode (this is the way recommended by dracut documentation).
14 lines
310 B
Bash
Executable File
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
|
|
}
|