1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 12:15:22 +03:00
aports/scripts/mkimg.xen.sh
Henrik Riomar a81087496a scripts/mkimg.xen.sh: add syslinux
Its quite helpful to have this on the xen iso and it was there until:
	bcdaeacd52 main/xen: Remove dependency on syslinux
xen does not depend on syslinux so that is correct, but it had the
effect of syslinux also missing from the iso, and that breaks
setup-bootable
2021-11-19 17:27:21 +00:00

22 lines
607 B
Bash
Executable file

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
profile_abbrev="xen"
title="Xen"
desc="Built-in support for Xen Hypervisor.
Includes packages targetted at Xen usage.
Use for Xen Dom0."
arch="x86_64"
kernel_cmdline="nomodeset"
xen_params=""
apks="$apks ethtool lvm2 mdadm multipath-tools rng-tools sfdisk xen xen-bridge syslinux"
# apkovl="genapkovl-xen.sh"
}