a30d583249
Do not rely on dom0 initializing that device. Actually volatile.img content should be none of dom0 business. QubesOS/qubes-issues#1308
18 lines
302 B
Bash
18 lines
302 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
|
|
inst_multiple \
|
|
sfdisk \
|
|
mkswap
|
|
}
|