e6e2404d24
Prior to this commit, if the Linux kernel's Xen-related components were built into the kernel (as opposed to the use of kernel modules), then the dracut module initialization would fail during the generation of the initial ramdisk image. This commit corrects this issue by using an if/then block. Signed-off-by: M. Vefa Bicakci <m.v.b@runbox.com>
19 lines
324 B
Bash
Executable File
19 lines
324 B
Bash
Executable File
#!/bin/bash
|
|
|
|
install() {
|
|
inst_hook cmdline 02 "$moddir/qubes-pciback.sh"
|
|
inst lspci
|
|
inst grep
|
|
inst awk
|
|
}
|
|
|
|
installkernel() {
|
|
local mod=
|
|
|
|
for mod in pciback xen-pciback; do
|
|
if modinfo -k "${kernel}" "${mod}" >/dev/null 2>&1; then
|
|
hostonly='' instmods "${mod}"
|
|
fi
|
|
done
|
|
}
|