From 6b591e50791c504cbd180aae39af6350815f6fb3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 16 Nov 2009 00:08:07 +0000 Subject: gconf: Remove hardcoded PKGDEST directory assumption Signed-off-by: Richard Purdie --- classes/gconf.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes/gconf.bbclass') 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): -- cgit v1.2.3