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
331 B
22 lines
331 B
9 years ago
|
#!/bin/sh
|
||
|
|
||
|
if grep -q control_d /proc/xen/capabilities; 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
|