diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 00:08:07 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 00:08:07 +0000 |
commit | 6b591e50791c504cbd180aae39af6350815f6fb3 (patch) | |
tree | e7a0c9180b9e4c3dc08fef406191100e035172cd /classes | |
parent | 1e7e2325223c84a44408f5a38f60a90c9a85043f (diff) |
gconf: Remove hardcoded PKGDEST directory assumption
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/gconf.bbclass | 3 |
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): |