From 67fa7a1c60eebc2eb664fd9eea46febb8af694d6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Nov 2009 10:12:59 +0000 Subject: gconf.bbclass: Fix hardcoded PKGDEST reference Signed-off-by: Richard Purdie --- meta/classes/gconf.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- cgit v1.2.3