mkimg.xen.sh 610 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
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
12
	profile_abbrev="xen"
13
	title="Xen"
Sascha Paunovic's avatar
Sascha Paunovic committed
14 15 16
	desc="Built-in support for Xen Hypervisor.
		Includes packages targetted at Xen usage.
		Use for Xen Dom0."
17 18 19
	arch="x86_64"
	kernel_cmdline="nomodeset"
	xen_params=""
20
	apks="$apks ethtool lvm2 mdadm multipath-tools openvswitch rng-tools sfdisk xen xen-bridge"
21
#	apkovl="genapkovl-xen.sh"
22
}