]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake-layers: fix for move of calc_bbfile_priority within cooker
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 22 May 2013 14:25:11 +0000 (15:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 May 2013 15:22:42 +0000 (16:22 +0100)
calc_bbfile_priority is now in CookerCollectFiles which can be accessed
on the collection attribute of a cooker instance.

Fixes [YOCTO #4513].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/bitbake-layers

index 0c4ac2d497e90c1317b68955d11114aefa9a8c9f..86a17a55eaa51d9a4d19de854c73e72816b195ac 100755 (executable)
@@ -233,7 +233,7 @@ Options:
         # We are largely guessing about PN, PV and the preferred version here,
         # but we have no choice since skipped recipes are not fully parsed
         skiplist = self.bbhandler.cooker.skiplist.keys()
-        skiplist.sort( key=lambda fileitem: self.bbhandler.cooker.calc_bbfile_priority(fileitem) )
+        skiplist.sort( key=lambda fileitem: self.bbhandler.cooker.collection.calc_bbfile_priority(fileitem) )
         skiplist.reverse()
         for fn in skiplist:
             recipe_parts = os.path.splitext(os.path.basename(fn))[0].split('_')