]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: Update to match the packaging classes when handling OVERRIDES
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 23 Aug 2010 14:26:38 +0000 (15:26 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 23 Aug 2010 14:27:36 +0000 (15:27 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/classes/insane.bbclass

index b7ab98d34ff6eb7b1d1156cf5bae1875c2e6b387..f59860b18b170cd38c9c464a6500330173ff947f 100644 (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)