summaryrefslogtreecommitdiff
path: root/classes/gconf.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-16 00:08:07 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 00:08:07 +0000
commit6b591e50791c504cbd180aae39af6350815f6fb3 (patch)
treee7a0c9180b9e4c3dc08fef406191100e035172cd /classes/gconf.bbclass
parent1e7e2325223c84a44408f5a38f60a90c9a85043f (diff)
gconf: Remove hardcoded PKGDEST directory assumption
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'classes/gconf.bbclass')
-rw-r--r--classes/gconf.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/gconf.bbclass b/classes/gconf.bbclass
index 47df06329b..9f51bc0cde 100644
--- a/classes/gconf.bbclass
+++ b/classes/gconf.bbclass
@@ -32,10 +32,11 @@ fi
python populate_packages_append () {
import os.path, re
packages = bb.data.getVar('PACKAGES', d, 1).split()
+ pkgdest = bb.data.getVar('PKGDEST', d, 1)
workdir = bb.data.getVar('WORKDIR', d, 1)
for pkg in packages:
- schema_dir = '%s/install/%s/etc/gconf/schemas' % (workdir, pkg)
+ schema_dir = '%s/%s/%s/etc/gconf/schemas' % (workdir, pkgdest, pkg)
schemas = []
schema_re = re.compile(".*\.schemas$")
if os.path.exists(schema_dir):