[Buildroot] [git commit branch/2020.02.x] package/dbus: disable systemd for host build

Peter Korsgaard peter at korsgaard.com
Thu Aug 13 19:12:23 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=3bd799aa49023e899b882284bb1203a3eff19239
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.02.x

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 <john at metanate.com>
Tested-by: Adam Duskett <aduskett at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit 1bfdb3d08daa0a516525965e00ccabdb8a714b39)
Signed-off-by: Peter Korsgaard <peter at 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 5c2a5fb2cc..952eff1fc7 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
 


More information about the buildroot mailing list