qubes-linux-utils/dracut/full/module-setup.sh
Marek Marczykowski-Górecki a30d583249
dracut: initialize volatile.img partitions
Do not rely on dom0 initializing that device. Actually volatile.img
content should be none of dom0 business.

QubesOS/qubes-issues#1308
2015-10-26 20:00:08 +01:00

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
}