diff options
Diffstat (limited to 'scripts/mkimg.xen.sh')
-rw-r--r-- | scripts/mkimg.xen.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/mkimg.xen.sh b/scripts/mkimg.xen.sh new file mode 100644 index 00000000000..95ec182833c --- /dev/null +++ b/scripts/mkimg.xen.sh @@ -0,0 +1,17 @@ +build_xen() { + apk fetch --root "$APKROOT" --stdout xen-hypervisor | tar -C "$DESTDIR" -xz boot +} + +section_xen() { + [ -n "${xen_params+set}" ] || return 0 + build_section xen $ARCH $(apk fetch --root "$APKROOT" --simulate xen-hypervisor | checksum) +} + +profile_xen() { + profile_standard + arch="x86_64" + kernel_cmdline="nomodeset" + xen_params="" + apks="$apks ethtool lvm2 mdadm multipath-tools openvswitch sfdisk xen" + apkovl="genapkovl-xen.sh" +} |