]> code.ossystems Code Review - openembedded-core.git/commit
rpm: add PACKAGECONFIG for the systemd inhibit plugin
authorRoss Burton <ross@burtonini.com>
Mon, 28 Sep 2020 18:43:28 +0000 (19:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Sep 2020 14:01:46 +0000 (15:01 +0100)
commitdf758ea66fd2f69d591c1fd36b90969796d50bd0
treec976fa7579397a5516ba8470e6f6e6d10134fcfe
parentc5571fd473369deab62f5b8e7c2d4318746df725
rpm: add PACKAGECONFIG for the systemd inhibit plugin

RPM ships a systemd inhibit plugin, that will tell systemd to inhibit a
reboot or sleep during a package upgrades.

For native RPM this is entirely useless, and for target it's only useful
if you're using systemd+logind+rpm.

This plugin uses DBus which means it depends on expat -> cmake-native ->
libarchive-native curl-native, which is quite a dependency tree to need
in early build (required to build packages via rpm-native).

It was previously forcibly disabled for native packages but the build
dependency on DBus remained.  Add a PACKAGECONFIG for the plugin that is
only enabled for target builds with systemd and explicitly disabled for
native/nativesdk builds, but also keep the explicit disabling of all
plugins as the prioreset plugin also behaves badly inside a build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_4.15.1.bb