From 3abe7a0624e1215124799f97c872682a98659760 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 1 Jul 2010 16:14:21 +0100 Subject: classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when packaging The OVERRIDES variable was being incorrectly set with the end result of the runtime dependencies of the package not being encoded in it's package metadata. This broke opkg-native in meta-toolchain. Signed-off-by: Joshua Lock --- meta/classes/package_deb.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/package_deb.bbclass') diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 560b7bc9c..cd8d1dfc6 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@ -116,7 +116,7 @@ python do_package_deb () { if not overrides: raise bb.build.FuncFailed('OVERRIDES not defined') overrides = bb.data.expand(overrides, localdata) - bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata) + bb.data.setVar('OVERRIDES', pkg + ':' + overrides, localdata) bb.data.update_data(localdata) basedir = os.path.join(os.path.dirname(root)) -- cgit v1.2.3