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
This commit is contained in:
Clayton Craft 2025-06-17 11:20:51 -07:00 committed by Oliver Smith
parent 1c4fd97318
commit ed5f3dd73e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -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