mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
gconf.bbclass: Fix hardcoded PKGDEST reference
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -28,10 +28,11 @@ done
|
|||||||
python populate_packages_append () {
|
python populate_packages_append () {
|
||||||
import re
|
import re
|
||||||
packages = bb.data.getVar('PACKAGES', d, 1).split()
|
packages = bb.data.getVar('PACKAGES', d, 1).split()
|
||||||
|
pkgdest = bb.data.getVar('PKGDEST', d, 1)
|
||||||
workdir = bb.data.getVar('WORKDIR', d, 1)
|
workdir = bb.data.getVar('WORKDIR', d, 1)
|
||||||
|
|
||||||
for pkg in packages:
|
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 = []
|
schemas = []
|
||||||
schema_re = re.compile(".*\.schemas$")
|
schema_re = re.compile(".*\.schemas$")
|
||||||
if os.path.exists(schema_dir):
|
if os.path.exists(schema_dir):
|
||||||
|
|||||||
Reference in New Issue
Block a user