2015-11-09 21:28:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2019-02-18 22:59:54 +00:00
|
|
|
if grep -q '^[0-]*$' /sys/hypervisor/uuid; then
|
2015-11-09 21:28:15 +00:00
|
|
|
echo "Not intended for dom0"
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
PREREQS="dmsetup"
|
|
|
|
case "$1" in
|
|
|
|
prereqs)
|
|
|
|
echo "$PREREQS"
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
|
|
|
|
|
|
copy_exec /sbin/sfdisk
|
|
|
|
copy_exec /sbin/mkswap
|
|
|
|
force_load xen-blkfront
|
|
|
|
force_load dm-snapshot
|