| Submitter | Bernhard Reutner-Fischer |
|---|---|
| Date | 2010-02-08 21:14:28 |
| Message ID | <1265663673-16312-8-git-send-email-rep.dot.nop@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/1549/ |
| State | Applied, archived |
| Headers | show |
Comments
On Mon, Feb 08, 2010 at 10:14:28PM +0100, Bernhard Reutner-Fischer wrote: > diff --git a/conf/local.conf.sample b/conf/local.conf.sample > index 643ae0b..e7c4559 100644 > --- a/conf/local.conf.sample > +++ b/conf/local.conf.sample > @@ -30,6 +30,9 @@ BBFILES := "${@bb.fatal('Edit your conf/local.conf: BBFILES')}" > # This is a regulary expression, so be sure to get your parenthesis balanced. > BBMASK = "" > > +# Proxy settings: > +# BB_ENV_EXTRAWHITE="http_proxy ftp_proxy no_proxy" I'm sorry to inform you, but that won't work with the standard bitbake! Which uses own HTTP_PROXY, FTP_PROXY, HTTP_PROXY_IGNORE and FTP_PROXY_IGNORE vars. I tried to persuade RP to change that back to standard http_proxy, ftp_proxy and no_proxy to no avail[1]. Because of that I had to keep my own version of bitbake[2] with the necessary patches for my users - check the top 4 patches in that tree. Although, GIT_PROXY_COMMAND one is already in the bitbake master... And looks like Khem has already pushed the above change though... [1] http://thread.gmane.org/gmane.comp.handhelds.openembedded/19716 [2] http://arago-project.org/git/?p=arago-bitbake.git;a=shortlog;h=refs/heads/next
On Thu, Feb 11, 2010 at 04:04:37AM -0500, Denys Dmytriyenko wrote: >On Mon, Feb 08, 2010 at 10:14:28PM +0100, Bernhard Reutner-Fischer wrote: >> diff --git a/conf/local.conf.sample b/conf/local.conf.sample >> index 643ae0b..e7c4559 100644 >> --- a/conf/local.conf.sample >> +++ b/conf/local.conf.sample >> @@ -30,6 +30,9 @@ BBFILES := "${@bb.fatal('Edit your conf/local.conf: BBFILES')}" >> # This is a regulary expression, so be sure to get your parenthesis balanced. >> BBMASK = "" >> >> +# Proxy settings: >> +# BB_ENV_EXTRAWHITE="http_proxy ftp_proxy no_proxy" > >I'm sorry to inform you, but that won't work with the standard bitbake! Which >uses own HTTP_PROXY, FTP_PROXY, HTTP_PROXY_IGNORE and FTP_PROXY_IGNORE vars. > >I tried to persuade RP to change that back to standard http_proxy, ftp_proxy >and no_proxy to no avail[1]. > >Because of that I had to keep my own version of bitbake[2] with the necessary >patches for my users - check the top 4 patches in that tree. Although, >GIT_PROXY_COMMAND one is already in the bitbake master... > >And looks like Khem has already pushed the above change though... drats, you're right. I was erroneously checking against a patched bitbake. khem, i'm very sorry for my sloppiness! Please revert 3f602f72f0936ef773aa4767636d41bb82ecf3b0 : ---8<--- Unfortunately bitbake master allegedly uses the non-standard {HT,F}TP_PROXY{,_IGNORE} config variables instead of the established http_proxy, ftp_proxy, no_proxy environment variables. ---8<--- lynx has a good description for these, and especially a sane rule for no_proxy (with domain.tld:port csv entries) which works very well for me in practise, FYI. http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/keystrokes/environments.html#proxy Sorry for the wrong patch and thanks, Denys, for mentioning this! > >[1] http://thread.gmane.org/gmane.comp.handhelds.openembedded/19716 >[2] http://arago-project.org/git/?p=arago-bitbake.git;a=shortlog;h=refs/heads/next
On Sat, Feb 13, 2010 at 01:08:20PM +0100, Bernhard Reutner-Fischer wrote: > On Thu, Feb 11, 2010 at 04:04:37AM -0500, Denys Dmytriyenko wrote: > >On Mon, Feb 08, 2010 at 10:14:28PM +0100, Bernhard Reutner-Fischer wrote: > >> diff --git a/conf/local.conf.sample b/conf/local.conf.sample > >> index 643ae0b..e7c4559 100644 > >> --- a/conf/local.conf.sample > >> +++ b/conf/local.conf.sample > >> @@ -30,6 +30,9 @@ BBFILES := "${@bb.fatal('Edit your conf/local.conf: BBFILES')}" > >> # This is a regulary expression, so be sure to get your parenthesis balanced. > >> BBMASK = "" > >> > >> +# Proxy settings: > >> +# BB_ENV_EXTRAWHITE="http_proxy ftp_proxy no_proxy" > > > >I'm sorry to inform you, but that won't work with the standard bitbake! Which > >uses own HTTP_PROXY, FTP_PROXY, HTTP_PROXY_IGNORE and FTP_PROXY_IGNORE vars. > > > >I tried to persuade RP to change that back to standard http_proxy, ftp_proxy > >and no_proxy to no avail[1]. > > > >Because of that I had to keep my own version of bitbake[2] with the necessary > >patches for my users - check the top 4 patches in that tree. Although, > >GIT_PROXY_COMMAND one is already in the bitbake master... > > > >And looks like Khem has already pushed the above change though... > > drats, you're right. I was erroneously checking against a patched bitbake. > > khem, i'm very sorry for my sloppiness! Please > revert 3f602f72f0936ef773aa4767636d41bb82ecf3b0 : Reverted. > ---8<--- > Unfortunately bitbake master allegedly uses the non-standard > {HT,F}TP_PROXY{,_IGNORE} config variables instead of the established > http_proxy, ftp_proxy, no_proxy environment variables. > ---8<--- > lynx has a good description for these, and especially a sane rule > for no_proxy (with domain.tld:port csv entries) which works very well > for me in practise, FYI. > http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/keystrokes/environments.html#proxy > > Sorry for the wrong patch and thanks, Denys, for mentioning this! > > > >[1] http://thread.gmane.org/gmane.comp.handhelds.openembedded/19716 > >[2] http://arago-project.org/git/?p=arago-bitbake.git;a=shortlog;h=refs/heads/next
Patch
diff --git a/conf/local.conf.sample b/conf/local.conf.sample index 643ae0b..e7c4559 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample @@ -30,6 +30,9 @@ BBFILES := "${@bb.fatal('Edit your conf/local.conf: BBFILES')}" # This is a regulary expression, so be sure to get your parenthesis balanced. BBMASK = "" +# Proxy settings: +# BB_ENV_EXTRAWHITE="http_proxy ftp_proxy no_proxy" + # Uncomment this if you want to use a prebuilt toolchain. You will need to # provide packages for toolchain and additional libraries yourself. You also # have to set PATH in your environment to make sure BitBake finds additional binaries.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> --- conf/local.conf.sample | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)