summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-27 18:03:47 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-27 18:03:47 -0500
commitf9e508b3dee8095b42879612ead46056b8cd8e18 (patch)
tree03279b3de7cfba5ef893d5b7621fec1034af21ff
parenta0a5eac3a20cef1a47264eb4969c36c5ce2d11ee (diff)
downloadpackages-f9e508b3dee8095b42879612ead46056b8cd8e18.tar.gz
packages-f9e508b3dee8095b42879612ead46056b8cd8e18.tar.bz2
packages-f9e508b3dee8095b42879612ead46056b8cd8e18.tar.xz
packages-f9e508b3dee8095b42879612ead46056b8cd8e18.zip
user/systemd: Ensure linkage to libskarnet, +kmod
kmod is needed to make sure udev loads modules on boot.
-rw-r--r--user/systemd/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/systemd/APKBUILD b/user/systemd/APKBUILD
index bf231b7e8..adf31df9f 100644
--- a/user/systemd/APKBUILD
+++ b/user/systemd/APKBUILD
@@ -5,9 +5,9 @@ pkgrel=0
pkgdesc="System and service manager"
url="https://systemd.io/"
arch="all"
-license="GPL-2.0-only"
+license="LGPL-2.1-only"
depends="kmod"
-makedepends="utmps-dev linux-pam-dev acl-dev libidn2-dev libqrencode-dev libgpg-error-dev libgcrypt-dev gnutls-dev bzip2-dev xz-dev lz4-dev zstd-dev pcre2-dev py3-jinja2 meson util-linux-dev libcap-dev gperf"
+makedepends="utmps-dev linux-pam-dev acl-dev libidn2-dev libqrencode-dev libgpg-error-dev libgcrypt-dev gnutls-dev bzip2-dev xz-dev lz4-dev zstd-dev pcre2-dev py3-jinja2 meson util-linux-dev libcap-dev gperf kmod-dev"
replaces="eudev eudev-libs elogind"
provides="eudev=4.0.0 elogind=$pkgver udev=$pkgver"
subpackages="$pkgname-dev $pkgname-doc"
@@ -16,6 +16,7 @@ source="systemd-$pkgver.tar.gz::https://github.com/systemd/systemd/archive/refs/
"
build() {
+ export LDFLAGS="$LDFLAGS -lutmps -lskarnet"
meson setup \
--sysconfdir=/etc \
--mandir=/usr/share/man \