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 | poky-47f704ea74da775db46f61037199f386e6a7048d.tar.gz |
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 b7ab98d34f..f59860b18b 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -484,11 +484,7 @@ def package_qa_check_rdepends(pkg, pkgdest, d): | |||
484 | pkgname = pkg | 484 | pkgname = pkg |
485 | bb.data.setVar('PKG', pkgname, localdata) | 485 | bb.data.setVar('PKG', pkgname, localdata) |
486 | 486 | ||
487 | overrides = bb.data.getVar('OVERRIDES', localdata) | 487 | bb.data.setVar('OVERRIDES', pkg, localdata) |
488 | if not overrides: | ||
489 | raise bb.build.FuncFailed('OVERRIDES not defined') | ||
490 | overrides = bb.data.expand(overrides, localdata) | ||
491 | bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata) | ||
492 | 488 | ||
493 | bb.data.update_data(localdata) | 489 | bb.data.update_data(localdata) |
494 | 490 | ||