]> code.ossystems Code Review - openembedded-core.git/commit
oe-buildenv-internal: Remove GIT variables from BB_ENV_EXTRAWHITE
authorDarren Hart <dvhart@linux.intel.com>
Fri, 8 Feb 2013 22:27:19 +0000 (14:27 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 22:52:25 +0000 (22:52 +0000)
commitea0284a8cc1b531e115b7fdbfa18852f55573f00
tree149b0c276a04f4767ec8190dd2965851354fa6c4
parent33e0afd2fffdef4dccfce6383bc646f975972b1e
oe-buildenv-internal: Remove GIT variables from BB_ENV_EXTRAWHITE

The following variables perform no function outside of bitbake:

    GIT_CONFIG
    GIT_PROXY_HOST
    GIT_PROXY_PORT
    GIT_PROXY_IGNORE

GIT_CONFIG only affects the git-config command which is not relevant to
the fetcher. This was previously used with the OE GIT_CORE_CONFIG
variable which would provide a basic git config to use instead of the
user's config. This usage was deprecated by git for over a year now:

http://git.661346.n2.nabble.com/Overriding-gitconfig-using-GIT-CONFIG-td6680977

GIT_PROXY_HOST and GIT_PROXY_PORT are not used by git.

GIT_PROXY_IGNORE was an OE construct used to create the custom git
config and had no meaning outside of the OE environment. It is not used
by git.

Remove these variables from the fetcher environment.

Users wishing to configure git to work with a proxy should define the
GIT_PROXY_COMMAND environment variable to use an external script.
NO_PROXY can be used within this script to skip the proxy for certain
hosts.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-buildenv-internal