scripts/build: Update the git proxy setup instructions
This commit is contained in:
parent
d3bf7895aa
commit
e4aa77e88e
|
@ -7,10 +7,26 @@
|
||||||
#CVS_PROXY_HOST = "proxy.example.com"
|
#CVS_PROXY_HOST = "proxy.example.com"
|
||||||
#CVS_PROXY_PORT = "81"
|
#CVS_PROXY_PORT = "81"
|
||||||
|
|
||||||
|
# For svn, you need to create ~/.subversion/servers containing:
|
||||||
|
#[global]
|
||||||
|
#http-proxy-host = proxy.example.com
|
||||||
|
#http-proxy-port = 81
|
||||||
|
#
|
||||||
|
|
||||||
# Uncomment to cause git to use the proxy host specificed
|
# Uncomment to cause git to use the proxy host specificed
|
||||||
|
# although this only works for http
|
||||||
#GIT_PROXY_HOST = "proxy.example.com"
|
#GIT_PROXY_HOST = "proxy.example.com"
|
||||||
#GIT_PROXY_PORT = "81"
|
#GIT_PROXY_PORT = "81"
|
||||||
#export GIT_PROXY_COMMAND = "${OEROOT}/scripts/poky-git-proxy-command"
|
#export GIT_PROXY_COMMAND = "${OEROOT}/scripts/poky-git-proxy-command"
|
||||||
|
|
||||||
|
# If SOCKS is available run the following command to comple a simple transport
|
||||||
|
# gcc scripts/poky-git-proxy-socks.c -o poky-git-proxy-socks
|
||||||
|
# and then share that binary somewhere in PATH, then use the following settings
|
||||||
|
#GIT_PROXY_HOST = "proxy.example.com"
|
||||||
|
#GIT_PROXY_PORT = "81"
|
||||||
|
#export GIT_PROXY_COMMAND = "${OEROOT}/scripts/poky-git-proxy-socks-command"
|
||||||
|
|
||||||
|
|
||||||
# Uncomment this to use a shared download directory
|
# Uncomment this to use a shared download directory
|
||||||
#DL_DIR = "/some/shared/download/directory/"
|
#DL_DIR = "/some/shared/download/directory/"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#! /bin/bash
|
||||||
|
poky-git-proxy-socks -S $GIT_PROXY_HOST:$GIT_PROXY_PORT $@
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue