From 855be6408dc3e4b7fd5a3cb53c06cda9eefe355d Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Thu, 18 Apr 2019 11:49:58 -0400 Subject: xfconf: fix 'Failed to get connection to xfconfd' during do_rootfs Packages such as gdk-pixbuf can result in the following error during the rootfs construction: CRITICAL **: 16:51:57.223: Failed to get connection to xfconfd: Cannot autolaunch D-Bus without X11 $DISPLAY This is hit during the postinst-intercepts/update_pixbuf_cache. Based on discussions upstream: https://bugzilla.xfce.org/show_bug.cgi?id=14789 this appears to be an issue for xfconf and has an upstream update: https://git.xfce.org/xfce/xfconf/commit?id=6f11cc65a2213f424728b5a0d25b1b63c19e773e Drawing from this change we can go ahead and use PACKAGECONFIG to emulate the upstream fix, defaulting to having the gsettings-backend disabled. Signed-off-by: Mark Asselstine Signed-off-by: Khem Raj --- meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-xfce') diff --git a/meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb b/meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb index 2667ff947..ded3c44e5 100644 --- a/meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb +++ b/meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb @@ -16,3 +16,5 @@ FILES_${PN} += "${libdir}/xfce4/xfconf/xfconfd \ ${datadir}/dbus-1/services/org.xfce.Xfconf.service" FILES_${PN}-dev += "${libdir}/gio/modules/libxfconfgsettingsbackend.la" + +PACKAGECONFIG[gsettings-backend] = "--enable-gsettings-backend,--disable-gsettings-backend," -- cgit v1.2.3-54-g00ecf