From ed5f3dd73edb943338fabc3fa402bc7f0fcff110 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Tue, 17 Jun 2025 11:20:51 -0700 Subject: [PATCH] systemd: disable armhf This is a workaround for pmb#2618, basically. To build systemd with BPF support (so things like unpriv. nspawn work), we have to install linux-stable-dev to get a special header(vmlinux.h). This kernel (linux-stable) isn't build in Alpine for armhf. Normally that's not a problem, we could just add linux-stable-dev conditionally to the makedepends, right? No... not possible until pmb#2618 is fixed. Given this arch is used by only 3 devices in testing (the rest are in `downstream` or `archive`), I think it makes sense to disable systemd on this arch until someone has the motivation to fix the pmb bug. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6637 [ci:skip-build]: already built successfully in CI --- extra-repos/systemd/systemd/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extra-repos/systemd/systemd/APKBUILD b/extra-repos/systemd/systemd/APKBUILD index 866b836db..0f8c01d0f 100644 --- a/extra-repos/systemd/systemd/APKBUILD +++ b/extra-repos/systemd/systemd/APKBUILD @@ -12,7 +12,9 @@ _pkgver="musl-v${pkgver//_/-}-split-usr" pkgrel=1 pkgdesc="System and service manager" url="https://github.com/systemd/systemd" -arch="all !ppc64le !s390x" # blocked by pmboostrap not supporting +# ppc64le and s390x blocked by pmboostrap not supporting +# armhf blocked by pmb#2618 +arch="all !ppc64le !s390x !armhf" license="MIT AND GPL-2.0-only AND LGPL-2.1-or-later" options="pmb:strict !check" # few tests fail, need to debug. We use alpine dbus for building, systemd-dbus for runtime