summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-05 14:25:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-05 14:39:43 +0100
commitc4b4e474b62025604f9ef9f21e13d29e8e38db97 (patch)
tree75d74521609d400b5b06c5c524fb3c5c3f23537b
parent5168a5055ed8979b6bd6119ef80a18c4b3458c00 (diff)
downloadpoky-c4b4e474b62025604f9ef9f21e13d29e8e38db97.tar.gz
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>
-rwxr-xr-xbitbake/bin/bitbake-layers2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index 5abf26cfbd..bdfa4b6a1f 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -150,7 +150,7 @@ class Commands(cmd.Cmd):
150 logger.info('State of append files:') 150 logger.info('State of append files:')
151 151
152 pnlist = list(self.cooker_data.pkg_pn.keys()) 152 pnlist = list(self.cooker_data.pkg_pn.keys())
153 pnlist.sort( key=lambda item: item.pn ) 153 pnlist.sort()
154 for pn in pnlist: 154 for pn in pnlist:
155 self.show_appends_for_pn(pn) 155 self.show_appends_for_pn(pn)
156 156