You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
329 B
22 lines
329 B
#!/bin/sh
|
|
|
|
if grep -q '^[0-]*$' /sys/hypervisor/uuid; then
|
|
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
|