[OE-core] [PATCH 1/1] rpm: remove dbus dependency for rpm-native
Alexander Kanavin
alexander.kanavin at linux.intel.com
Wed Apr 4 11:32:15 UTC 2018
On 04/04/2018 01:45 PM, Chen Qi wrote:
> +# dbus dependency is deliberately omitted for rpm-native to prevent it from attempting to
> +# inhibit shutdown via session dbus, even when some layer enables plugins support for rpm-native.
> +DEPENDS_remove_class-native = "dbus"
> +
> inherit autotools gettext pkgconfig python3native
> export PYTHON_ABI
>
> @@ -63,7 +67,7 @@ EXTRA_OECONF_append_libc-musl = " --disable-nls"
> #
> # --localstatedir prevents rpm from writing its database to native sysroot when building images
> #
> -# Also disable plugins, so that rpm doesn't attempt to inhibit shutdown via session dbus
> +# Disable plugins for rpm-native.
> EXTRA_OECONF_append_class-native = " --sysconfdir=/etc --localstatedir=/var --disable-plugins"
This should definitely be a PACKAGECONFIG option. Actually, two
different options: "plugins" (pulls in dbus) and "plugins-native" (does
not pull in dbus). Then both can be enabled for target and native,
respectively.
Alex
More information about the Openembedded-core
mailing list