From patchwork Thu Jan 12 23:03:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/2] bitbake/fetch2: add support for wrapper command Date: Thu, 12 Jan 2012 23:03:32 -0000 From: Matthew McClintock X-Patchwork-Id: 19225 Message-Id: <1326409412-15507-2-git-send-email-msm@freescale.com> To: This is for getting around things like CVS over SOCKS5 with authentication which does not seem to be supported by configuring CVS or some other means that I can find. Signed-off-by: Matthew McClintock --- meta/conf/bitbake.conf | 1 + scripts/oe-buildenv-internal | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index b858364..5bb9430 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -553,6 +553,7 @@ XORG_MIRROR = "http://xorg.freedesktop.org/releases" # You can use the mirror of your country to get faster downloads by putting # export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool" # into your local.conf +BB_FETCH_WRAPPER ?= "" FETCHCMD_svn = "/usr/bin/env svn" FETCHCMD_cvs = "/usr/bin/env cvs" diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal index 21b92b0..72fc458 100755 --- a/scripts/oe-buildenv-internal +++ b/scripts/oe-buildenv-internal @@ -70,4 +70,4 @@ unset BITBAKEDIR # Used by the runqemu script export BUILDDIR export PATH -export BB_ENV_EXTRAWHITE="MACHINE DISTRO TCMODE TCLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS PARALLEL_MAKE GIT_PROXY_COMMAND GIT_PROXY_IGNORE SOCKS5_PASSWD SOCKS5_USER" +export BB_ENV_EXTRAWHITE="MACHINE DISTRO TCMODE TCLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS PARALLEL_MAKE GIT_PROXY_COMMAND GIT_PROXY_IGNORE SOCKS5_PASSWD SOCKS5_USER BB_FETCH_WRAPPER"