summaryrefslogtreecommitdiffstats
path: root/meta/classes/gconf.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-16 10:12:59 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 10:12:59 +0000
commit67fa7a1c60eebc2eb664fd9eea46febb8af694d6 (patch)
tree2115a139de71839419fdc62736e4000f97670d46 /meta/classes/gconf.bbclass
parent7da2f8c51da8406137748f58c9d70542e3e84217 (diff)
downloadpoky-67fa7a1c60eebc2eb664fd9eea46febb8af694d6.tar.gz
gconf.bbclass: Fix hardcoded PKGDEST reference
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/gconf.bbclass')
-rw-r--r--meta/classes/gconf.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/gconf.bbclass b/meta/classes/gconf.bbclass
index 462a57b413..0b42e3ed75 100644
--- a/meta/classes/gconf.bbclass
+++ b/meta/classes/gconf.bbclass
@@ -28,10 +28,11 @@ done
28python populate_packages_append () { 28python populate_packages_append () {
29 import re 29 import re
30 packages = bb.data.getVar('PACKAGES', d, 1).split() 30 packages = bb.data.getVar('PACKAGES', d, 1).split()
31 pkgdest = bb.data.getVar('PKGDEST', d, 1)
31 workdir = bb.data.getVar('WORKDIR', d, 1) 32 workdir = bb.data.getVar('WORKDIR', d, 1)
32 33
33 for pkg in packages: 34 for pkg in packages:
34 schema_dir = '%s/install/%s/etc/gconf/schemas' % (workdir, pkg) 35 schema_dir = '%s/%s/%s/etc/gconf/schemas' % (workdir, pkgdest, pkg)
35 schemas = [] 36 schemas = []
36 schema_re = re.compile(".*\.schemas$") 37 schema_re = re.compile(".*\.schemas$")
37 if os.path.exists(schema_dir): 38 if os.path.exists(schema_dir):