insane.bbclass: Update to match the packaging classes when handling OVERRIDES

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-08-23 15:26:38 +01:00
parent b9f4ff1386
commit 47f704ea74
1 changed files with 1 additions and 5 deletions

View File

@ -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)