From 47f704ea74da775db46f61037199f386e6a7048d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 23 Aug 2010 15:26:38 +0100 Subject: insane.bbclass: Update to match the packaging classes when handling OVERRIDES Signed-off-by: Richard Purdie --- meta/classes/insane.bbclass | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'meta/classes') diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index b7ab98d34..f59860b18 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -484,11 +484,7 @@ def package_qa_check_rdepends(pkg, pkgdest, d): pkgname = pkg bb.data.setVar('PKG', pkgname, localdata) - overrides = bb.data.getVar('OVERRIDES', localdata) - 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, localdata) bb.data.update_data(localdata) -- cgit v1.2.3