0c4c2323c0
This is preparation for pvgrub support, where all VM kernel files will be installed inside of VM instead of dom0. But also the same could be used to prepare VM kernel image from any dom0 kernel.
16 lines
251 B
Bash
16 lines
251 B
Bash
#!/bin/bash
|
|
|
|
check() {
|
|
if xenstore-read qubes-vm-type &>/dev/null; then
|
|
return 0
|
|
else
|
|
return 255
|
|
fi
|
|
}
|
|
|
|
install() {
|
|
inst_hook pre-udev 90 $moddir/qubes_cow_setup.sh
|
|
inst_hook pre-pivot 50 $moddir/mount_modules.sh
|
|
|
|
}
|