[Buildroot] [git commit] package/dbus: disable systemd for host build

From: Peter Korsgaard <peter@korsgaard.com>
Date: 2020-07-31 07:10:16
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=1bfdb3d08daa0a516525965e00ccabdb8a714b39
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This fixes an issue if host-dbus happens to be rebuilt after systemd, in
which case it autodetects systemd support but then ignored the prefix
when installing unit files.  That means that is tries to write to the
host system's /usr/lib/ which fails.

There is no reason to build and install systemd support in the host
build, so disable it explicitly.

Signed-off-by: John Keeping <redacted>
Tested-by: Adam Duskett <redacted>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/dbus/dbus.mk | 1 +
 1 file changed, 1 insertion(+)
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 312c6ba1d8..3c67625688 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -107,6 +107,7 @@ HOST_DBUS_CONF_OPTS = \
 	--disable-selinux \
 	--disable-xml-docs \
 	--disable-doxygen-docs \
+	--disable-systemd \
 	--without-x \
 	--with-xml=expat
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help