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:
parent
b9f4ff1386
commit
47f704ea74
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue