From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Matthew McClintock <msm@freescale.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH] bitbake/fetch2: add support for wrapper command
Date: Fri, 13 Jan 2012 08:44:37 +0000 [thread overview]
Message-ID: <1326444277.11214.25.camel@ted> (raw)
In-Reply-To: <1326409741-17390-1-git-send-email-msm@freescale.com>
On Thu, 2012-01-12 at 17:09 -0600, Matthew McClintock wrote:
> cc: bitbake-devel@lists.openembedded.org
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
> lib/bb/fetch2/__init__.py | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
> index 3af56e5..1d7d5c7 100644
> --- a/lib/bb/fetch2/__init__.py
> +++ b/lib/bb/fetch2/__init__.py
> @@ -389,6 +389,8 @@ def runfetchcmd(cmd, d, quiet = False, cleanup = []):
> Optionally remove the files/directories listed in cleanup upon failure
> """
>
> + cmd = "%s %s" % (bb.data.getVar("BB_FETCH_WRAPPER", d, True), cmd)
> +
> # Need to export PATH as binary could be in metadata paths
> # rather than host provided
> # Also include some other variables.
Er, this is going to break for anyone who doesn't have BB_FETCH_WRAPPER
set. It would be nice to document why you require this in the commit
message (I can guess). Since I'm rejecting this patch, can the next one
document the new variable in the fetcher section of bitbake manual too
please? :)
Cheers,
Richard
next prev parent reply other threads:[~2012-01-13 8:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-12 23:09 [PATCH] bitbake/fetch2: add support for wrapper command Matthew McClintock
2012-01-13 8:44 ` Richard Purdie [this message]
2012-01-13 14:44 ` McClintock Matthew-B29882
2012-01-13 15:16 ` Richard Purdie
2012-01-13 15:20 ` McClintock Matthew-B29882
2012-01-13 16:03 ` McClintock Matthew-B29882
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=1326444277.11214.25.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=msm@freescale.com \
/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.