From 3de100799165178c23e015b28b53cf8ab1212125 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 15 Jun 2026 08:37:48 +0900 Subject: [PATCH] systemd/systemd: add xenctl support Then, we can support xen kexec commends on reboot. Note, this does not requires any runtime library. Part-of: --- extra-repos/systemd/systemd/APKBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extra-repos/systemd/systemd/APKBUILD b/extra-repos/systemd/systemd/APKBUILD index 773af2869..d57eca9ff 100644 --- a/extra-repos/systemd/systemd/APKBUILD +++ b/extra-repos/systemd/systemd/APKBUILD @@ -95,6 +95,12 @@ makedepends=" dbus-dev polkit-dev " + +# xen-dev: available only on aarch64, armv7, and x86_64. +case "$CARCH" in + aarch64|armv7|x86_64) makedepends="$makedepends xen-dev" ;; +esac + # NOTE: these are dlopened and have to be listed explicitly since abuild cannot detect these dependencies # See: # - https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3992