Skip to contentSkip to conversation

package/dbus: disable systemd for host build

PATCH New John Keeping 3 participants 4 messages Jul 28, 2020 – Aug 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dbus: disable systemd for host build

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.

---
 package/dbus/dbus.mk | 1 +
 1 file changed, 1 insertion(+)
package/dbus/dbus.mk +1 -0
index 312c6ba1d8..3c67625688 100644
@@ -107,6 +107,7 @@ HOST_DBUS_CONF_OPTS = \
 	--disable-selinux \
 	--disable-xml-docs \
 	--disable-doxygen-docs \
+	--disable-systemd \
 	--without-x \
 	--with-xml=expat
 
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 package/dbus: disable systemd for host build

All;

Quoted 29 lines · John Keeping

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.

---
 package/dbus/dbus.mk | 1 +
 1 file changed, 1 insertion(+)
package/dbus/dbus.mk +1 -1
index 312c6ba1d8..3c67625688 100644
@@ -107,6 +107,7 @@ HOST_DBUS_CONF_OPTS = \
        --disable-selinux \
        --disable-xml-docs \
        --disable-doxygen-docs \
+       --disable-systemd \
        --without-x \
        --with-xml=expat
 
--

2.27.0

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw

PATCH 1/1 package/dbus: disable systemd for host build

In reply to John Keeping
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"John" == John Keeping <[email protected]> writes:

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 package/dbus: disable systemd for host build

In reply to John Keeping
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"John" == John Keeping <[email protected]> writes:

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.

Committed to 2020.02.x and 2020.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard