diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-05-22 15:25:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-22 16:25:10 +0100 |
commit | 25905ae63728b42cf15f57bce653447543cb566e (patch) | |
tree | b235d956f69e29c7d07181040c10659af4835fa9 /bitbake/bin | |
parent | 49f127827d6ade9efeec29bb241f59d33228300e (diff) | |
download | poky-25905ae63728b42cf15f57bce653447543cb566e.tar.gz |
bitbake: bitbake-layers: fix for move of calc_bbfile_priority within cooker
calc_bbfile_priority is now in CookerCollectFiles which can be accessed
on the collection attribute of a cooker instance.
Fixes [YOCTO #4513].
(Bitbake rev: 5d941631ad7198737d9a5c5a920a9062fa0431f8)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-layers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers index 0c4ac2d497..86a17a55ea 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/bin/bitbake-layers | |||
@@ -233,7 +233,7 @@ Options: | |||
233 | # We are largely guessing about PN, PV and the preferred version here, | 233 | # We are largely guessing about PN, PV and the preferred version here, |
234 | # but we have no choice since skipped recipes are not fully parsed | 234 | # but we have no choice since skipped recipes are not fully parsed |
235 | skiplist = self.bbhandler.cooker.skiplist.keys() | 235 | skiplist = self.bbhandler.cooker.skiplist.keys() |
236 | skiplist.sort( key=lambda fileitem: self.bbhandler.cooker.calc_bbfile_priority(fileitem) ) | 236 | skiplist.sort( key=lambda fileitem: self.bbhandler.cooker.collection.calc_bbfile_priority(fileitem) ) |
237 | skiplist.reverse() | 237 | skiplist.reverse() |
238 | for fn in skiplist: | 238 | for fn in skiplist: |
239 | recipe_parts = os.path.splitext(os.path.basename(fn))[0].split('_') | 239 | recipe_parts = os.path.splitext(os.path.basename(fn))[0].split('_') |