systemd/systemd: build with SELinux support

Now that Alpine's linux-pam comes with pam_selinux.so, we will no longer
break setups that don't include SELinux.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9482>
This commit is contained in:
Aelin
2026-09-04 14:09:32 -07:00
committed by Clayton Craft
parent c6f27d1b65
commit 7d5b4e3816
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ pkgname=systemd-stage0
pkgver=262_rc1 pkgver=262_rc1
_pkgver="${pkgver/_/-}" _pkgver="${pkgver/_/-}"
# pkgrel must match systemd! # pkgrel must match systemd!
pkgrel=0 pkgrel=1
pkgdesc="Minimal systemd bootstrap package" pkgdesc="Minimal systemd bootstrap package"
url="https://github.com/systemd/systemd" url="https://github.com/systemd/systemd"
# armhf: pmb#2618 # armhf: pmb#2618
+3 -2
View File
@@ -17,7 +17,7 @@ pkgname=systemd
pkgver=262_rc1 pkgver=262_rc1
_pkgver="${pkgver/_/-}" _pkgver="${pkgver/_/-}"
# pkgrel must match systemd-stage0! # pkgrel must match systemd-stage0!
pkgrel=0 pkgrel=1
pkgdesc="System and service manager" pkgdesc="System and service manager"
url="https://github.com/systemd/systemd" url="https://github.com/systemd/systemd"
# armhf: no linux-stable # armhf: no linux-stable
@@ -145,6 +145,7 @@ depends="
libpwquality libpwquality
libqrencode libqrencode
libseccomp libseccomp
libselinux
libxkbcommon libxkbcommon
linux-pam linux-pam
lz4-libs lz4-libs
@@ -289,7 +290,7 @@ build() {
-Dbootloader="$_bootloader" \ -Dbootloader="$_bootloader" \
-Dinitrd=true \ -Dinitrd=true \
-Dhibernate=false \ -Dhibernate=false \
-Dselinux=disabled \ -Dselinux=enabled \
-Dukify=disabled \ -Dukify=disabled \
-Dtpm2=enabled \ -Dtpm2=enabled \
\ \