* [Buildroot] [PATCH 1/1] package/p11-kit: explicitly enable or disable systemd units
@ 2026-07-27 15:45 Fiona Klute via buildroot
2026-07-28 13:59 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Fiona Klute via buildroot @ 2026-07-27 15:45 UTC (permalink / raw)
To: buildroot; +Cc: Fiona Klute (Othermo GmbH)
From: "Fiona Klute (Othermo GmbH)" <fiona.klute@gmx.de>
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) <fiona.klute@gmx.de>
---
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))
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/p11-kit: explicitly enable or disable systemd units
2026-07-27 15:45 [Buildroot] [PATCH 1/1] package/p11-kit: explicitly enable or disable systemd units Fiona Klute via buildroot
@ 2026-07-28 13:59 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2026-07-28 13:59 UTC (permalink / raw)
To: Fiona Klute via buildroot; +Cc: Fiona Klute
>>>>> "Fiona" == Fiona Klute via buildroot <buildroot@buildroot.org> writes:
> From: "Fiona Klute (Othermo GmbH)" <fiona.klute@gmx.de>
> 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) <fiona.klute@gmx.de>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-28 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-27 15:45 [Buildroot] [PATCH 1/1] package/p11-kit: explicitly enable or disable systemd units Fiona Klute via buildroot
2026-07-28 13:59 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox