mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 05:02:21 +02: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 () {
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user