[OE-core] [PATCH 1/2] bitbake/fetch2: add support for wrapper command

Matthew McClintock msm at freescale.com
Thu Jan 12 23:03:31 UTC 2012


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)
+
     # Need to export PATH as binary could be in metadata paths
     # rather than host provided
     # Also include some other variables.
-- 
1.7.6.1






More information about the Openembedded-core mailing list