[OE-core] [PATCH 1/2] bitbake/fetch2: add support for wrapper command
Saul Wold
sgw at linux.intel.com
Mon Jan 16 04:53:15 UTC 2012
On 01/12/2012 03:03 PM, Matthew McClintock wrote:
> cc: bitbake-devel at lists.openembedded.org
> Signed-off-by: Matthew McClintock<msm at freescale.com>
> ---
> bitbake/lib/bb/fetch2/__init__.py | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
> index 3af56e5..1d7d5c7 100644
> --- a/bitbake/lib/bb/fetch2/__init__.py
> +++ b/bitbake/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)
> +
I am guessing you really want a check here if BB_FETCH_WRAPPER is set,
otherwise I am not sure this will work correctly, did you test without
this new variable set?
Sau!
> # Need to export PATH as binary could be in metadata paths
> # rather than host provided
> # Also include some other variables.
More information about the Openembedded-core
mailing list