diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-23 15:26:38 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-23 15:27:36 +0100 |
commit | 47f704ea74da775db46f61037199f386e6a7048d (patch) | |
tree | 3b5a2dde1d1017666549246a590c851546db42a1 /meta/classes/insane.bbclass | |
parent | b9f4ff1386bef3f8e3d4e7a5b0367a0d8731a7cd (diff) | |
download | openembedded-core-47f704ea74da775db46f61037199f386e6a7048d.tar.gz openembedded-core-47f704ea74da775db46f61037199f386e6a7048d.tar.bz2 openembedded-core-47f704ea74da775db46f61037199f386e6a7048d.tar.xz openembedded-core-47f704ea74da775db46f61037199f386e6a7048d.zip |
insane.bbclass: Update to match the packaging classes when handling OVERRIDES
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 6 |
1 files changed, 1 insertions, 5 deletions
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) |