summaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.xen.sh
blob: 1936da809c8d3e60122d1955ed561bb05a0f13d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"
}