Patchwork [bitbake-devel,1/3] bitbake-layers: fix for move of calc_bbfile_priority within cooker

login
register
mail settings
Submitter Paul Eggleton
Date May 22, 2013, 2:25 p.m.
Message ID <4eb7cd0f7d9c3cc7d8db602fd68e2ddba59d8b9f.1369232029.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/50327/
State New
Headers show

Comments

Paul Eggleton - May 22, 2013, 2:25 p.m.
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>
---
 bitbake/bin/bitbake-layers | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index 0c4ac2d..86a17a5 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -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('_')