[oe-commits] Michael 'Mickey' Lauer : bitbake.conf: override XDG_DATA_DIRS to point into our staging area;

GIT User account git at amethyst.openembedded.net
Mon Feb 16 12:02:05 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: db0f992c9f1b0abb2f0ca240ce4a7636c9953924
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=db0f992c9f1b0abb2f0ca240ce4a7636c9953924

Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Mon Feb 16 12:59:15 2009 +0100

bitbake.conf: override XDG_DATA_DIRS to point into our staging area;
this fixes programs using g_get_system_data_dirs() picking up paths
outside our safe and cozy environment. NOTE: _If_ this breaks some
packages that were previously working, then we are missing something
in do_stage of our native packages and we'd rather see it bailing out
than silently pick up the wrong files. Think 'fail-fast' for glib.

---

 conf/bitbake.conf |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 9c187c0..9aefb63 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -577,6 +577,8 @@ export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig"
 export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
 export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
 
+export XDG_DATA_DIRS = "${STAGING_DATADIR}"
+
 export QMAKE_MKSPEC_PATH = "${STAGING_DATADIR_NATIVE}/qmake"
 export STAGING_SIPDIR = "${STAGING_DATADIR_NATIVE}/sip"
 export STAGING_IDLDIR = "${STAGING_DATADIR}/idl"





More information about the Openembedded-commits mailing list