mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 13:18:36 -09:00
package/p11-kit: explicitly enable or disable systemd units
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> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
766d3a6e87
commit
a0cadb4552
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user