summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2018-07-18 15:52:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-30 12:44:28 +0100
commit6440e89770878d73c3467a30322f87eb29bdaa6d (patch)
tree3b02e37aba40923bb17d895b0f2aae0e1948be32
parente3f7e684cd619b5fe072179dffd573889e8ba470 (diff)
downloadopenembedded-core-contrib-6440e89770878d73c3467a30322f87eb29bdaa6d.tar.gz
dbus: Enable user-session package config
If targeting a X11 or Wayland session the user will want user-session enabled. To target both of these just enable user-session all the time. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-core/dbus/dbus_1.12.8.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus_1.12.8.bb b/meta/recipes-core/dbus/dbus_1.12.8.bb
index b3ddaafab57..eec22f7db90 100644
--- a/meta/recipes-core/dbus/dbus_1.12.8.bb
+++ b/meta/recipes-core/dbus/dbus_1.12.8.bb
@@ -102,7 +102,10 @@ EXTRA_OECONF = "--disable-tests \
EXTRA_OECONF_append_class-target = " SYSTEMCTL=${base_bindir}/systemctl"
EXTRA_OECONF_append_class-native = " --disable-selinux"
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)}"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
+ user-session \
+ "
+
PACKAGECONFIG_class-native = ""
PACKAGECONFIG_class-nativesdk = ""