All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [RFC PATCH 0/2] skipped recipe handling
Date: Wed,  1 Jun 2011 18:26:28 +0100	[thread overview]
Message-ID: <cover.1306947210.git.paul.eggleton@linux.intel.com> (raw)

I noticed bitbake-layers did not handle bbappends for skipped recipes
properly (e.g. in Poky it complained that uclibc_git.bbappend did not
match any recipe). Thus I added a mechanism to bitbake within cooker that
lists skipped recipes and extended bitbake-layers to use it.

This (or something similar) will also be needed for improving the
NoProvider error handling - ideally we should be reporting if the target
being requested has been skipped and why. To this end the SkippedPackage
class includes the reason and DEPENDS/RDEPENDS info (although at the
moment RDEPENDS does not get populated). Some may prefer I remove the 
DEPENDS/RDEPENDS bits until the future patch where they are used, if
so I wouldn't object to removing them.

I also considered adding to skiplist for BBMASKed-out recipes but on
reflection I elected not to do so since I assumed we ought to be
completely ignoring recipes that are masked out in this way.

Patch summary (these are against Poky but they apply cleanly with -p2
against bitbake master):

Paul Eggleton (2):
  bitbake: track skipped packages
  bitbake-layers: handle skipped recipes

 bitbake/bin/bitbake-layers  |   24 +++++++++++++++++++-----
 bitbake/lib/bb/cache.py     |   12 +++++++++---
 bitbake/lib/bb/cooker.py    |   16 ++++++++++++++++
 bitbake/lib/bb/parse/ast.py |   12 ++++++------
 4 files changed, 50 insertions(+), 14 deletions(-)

-- 
1.7.4.1



             reply	other threads:[~2011-06-01 17:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 17:26 Paul Eggleton [this message]
2011-06-01 17:26 ` [RFC PATCH 1/2] bitbake: track skipped packages Paul Eggleton
2011-06-02 20:01   ` Joshua Lock
2011-06-03  9:51     ` Paul Eggleton
2011-06-03 16:38       ` Joshua Lock
2011-06-01 17:26 ` [RFC PATCH 2/2] bitbake-layers: handle skipped recipes Paul Eggleton
2011-06-02 20:03   ` Joshua Lock

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=cover.1306947210.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.