[Buildroot] [git commit] package/p11-kit: explicitly enable or disable systemd units
Peter Korsgaard <[email protected]> Tue, 28 Jul 2026 15:59:16 +0200
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/a0cadb45523f02cf987ef3a2b73343b601e59d22 branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master The --with-systemd option controls only if systemd units are installed, so there is no build time dependency. Disable systemd unconditionally for the host package because Buildroot cannot and should not install systemd units on the host. Fixes host-p11-kit install error: install: reguläre Datei '/usr/lib/systemd/user/p11-kit-server.socket' kann nicht angelegt werden: Keine Berechtigung install: reguläre Datei '/usr/lib/systemd/user/p11-kit-server.service' kann nicht angelegt werden: Keine Berechtigung Signed-off-by: Fiona Klute (Othermo GmbH) <[email protected]> Signed-off-by: Peter Korsgaard <[email protected]> --- package/p11-kit/p11-kit.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/p11-kit/p11-kit.mk b/package/p11-kit/p11-kit.mk index 4f4b76d543..60133223ce 100644 --- a/package/p11-kit/p11-kit.mk +++ b/package/p11-kit/p11-kit.mk @@ -44,13 +44,20 @@ P11_KIT_CONF_OPTS += \ --without-libtasn1 endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +P11_KIT_CONF_OPTS += --with-systemd +else +P11_KIT_CONF_OPTS += --without-systemd +endif + HOST_P11_KIT_DEPENDENCIES = host-pkgconf HOST_P11_KIT_CONF_OPTS = \ --without-libffi \ --without-trust-paths \ --disable-trust-module \ - --without-libtasn1 + --without-libtasn1 \ + --without-systemd $(eval $(autotools-package)) $(eval $(host-autotools-package)) _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot