summaryrefslogtreecommitdiff
path: root/meta/classes
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
parent7da2f8c51da8406137748f58c9d70542e3e84217 (diff)
downloadopenembedded-core-67fa7a1c60eebc2eb664fd9eea46febb8af694d6.tar.gz
openembedded-core-67fa7a1c60eebc2eb664fd9eea46febb8af694d6.tar.bz2
openembedded-core-67fa7a1c60eebc2eb664fd9eea46febb8af694d6.zip
gconf.bbclass: Fix hardcoded PKGDEST reference
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-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
python populate_packages_append () {
import 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):