From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 1/2] bitbake-layers: fix sorting by package name for cooker change
Date: Tue, 5 Jul 2011 14:25:05 +0100 [thread overview]
Message-ID: <4a23fa4fd29855e33da40518f028bb2143000833.1309872199.git.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <cover.1309872199.git.paul.eggleton@linux.intel.com>
In-Reply-To: <cover.1309872199.git.paul.eggleton@linux.intel.com>
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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
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 5abf26c..bdfa4b6 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -150,7 +150,7 @@ class Commands(cmd.Cmd):
logger.info('State of append files:')
pnlist = list(self.cooker_data.pkg_pn.keys())
- pnlist.sort( key=lambda item: item.pn )
+ pnlist.sort()
for pn in pnlist:
self.show_appends_for_pn(pn)
--
1.7.4.1
next prev parent reply other threads:[~2011-07-05 13:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 13:25 [PATCH 0/2] Fix bitbake-layers errors Paul Eggleton
2011-07-05 13:25 ` Paul Eggleton [this message]
2011-07-05 13:25 ` [PATCH 2/2] bitbake-layers: fix error on startup caused by recent cooker change Paul Eggleton
2011-07-05 13:29 ` [PATCH 0/2] Fix bitbake-layers errors Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4a23fa4fd29855e33da40518f028bb2143000833.1309872199.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.