]> code.ossystems Code Review - openembedded-core.git/commit
rpm: build without dbus for rpm-native
authorChen Qi <Qi.Chen@windriver.com>
Sun, 8 Apr 2018 07:56:07 +0000 (15:56 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Apr 2018 11:11:37 +0000 (12:11 +0100)
commit815ccef2d5bef1e46c51916e694d0974aee394a9
tree7ea76fbb2396617c123a2bcf876b6d061c84ed00
parent13a80b22f28b81a0082d181674295a0f96111f6b
rpm: build without dbus for rpm-native

Add option for dbus in configure.ac, and explicitly build without dbus
for rpm-native.

Previously, the rpm recipe tries to prevent rpm-native from attempting
to inhibit shutdown via session dbus by appending '--disable-plugins'
to EXTRA_OECONF in case of native.

However, some layer may need some functionality via plugin support. And
when it enables it, we would meet the following warning at rootfs time.

  Unable to get systemd shutdown inhibition lock: Socket name too long

As plugins/systemd_inhibit.c is the only place that's related to this
dependency, we can be sure that dbus is really not needed for rpm-native.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/files/0001-configure.ac-add-option-for-dbus.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_4.14.1.bb