bitbake-layers: fix sorting by package name for cooker change
Structure of cooker was changed since the patch for bitbake commit edacf98cceb2fe1275042595d3fce6822fa411ca was created - cooker.pkg_pn now has string keys, so sort it accordingly. (Bitbake rev: 9c2a064ab7fd9b8bcca58dfeb1abfae2555f0088) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5168a5055e
commit
c4b4e474b6
|
@ -150,7 +150,7 @@ class Commands(cmd.Cmd):
|
||||||
logger.info('State of append files:')
|
logger.info('State of append files:')
|
||||||
|
|
||||||
pnlist = list(self.cooker_data.pkg_pn.keys())
|
pnlist = list(self.cooker_data.pkg_pn.keys())
|
||||||
pnlist.sort( key=lambda item: item.pn )
|
pnlist.sort()
|
||||||
for pn in pnlist:
|
for pn in pnlist:
|
||||||
self.show_appends_for_pn(pn)
|
self.show_appends_for_pn(pn)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue