From patchwork Thu Jan 12 23:09:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] bitbake/fetch2: add support for wrapper command Date: Thu, 12 Jan 2012 23:09:01 -0000 From: Matthew McClintock X-Patchwork-Id: 19227 Message-Id: <1326409741-17390-1-git-send-email-msm@freescale.com> To: cc: bitbake-devel@lists.openembedded.org Signed-off-by: Matthew McClintock --- 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.