diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:12:59 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:12:59 +0000 |
| commit | 67fa7a1c60eebc2eb664fd9eea46febb8af694d6 (patch) | |
| tree | 2115a139de71839419fdc62736e4000f97670d46 /meta/classes/gconf.bbclass | |
| parent | 7da2f8c51da8406137748f58c9d70542e3e84217 (diff) | |
| download | poky-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.bbclass | 3 |
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 | |||
| 28 | python populate_packages_append () { | 28 | python 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): |
