mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user