[bitbake-devel] [PATCH] bitbake/fetch2: add support for wrapper command

McClintock Matthew-B29882 B29882 at freescale.com
Fri Jan 13 15:20:49 UTC 2012


On Fri, Jan 13, 2012 at 9:16 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> wrapper = d.getVar("BB_FETCH_WRAPPER", True)
> if wrapper:
>    cmd = wrapper + " " + cmd
>
> (please use d.getVar, not bb.data.getVar)

Ok.

>
>> I wrote a small blurb about why it was needed on the patch to oe-core,
>> we are trying to do CVS or a SOCKS5 proxy that has authentication (the
>> proxy) - I didn't see another way around this...
>
> Can't this be done via the environment or the FETCHCMD statements in
> bitbake.conf?
>
> What really worries me here is that people keep adding 101 ways to use
> different proxy setups. I'd really like one good way than 101 ways which
> half work. All these different approaches and variables make the
> codebase a nightmare to maintain and make it hard to explain to someone
> how to setup things for their proxy.

Actually, this way might make more sense... I'll test it out.

-M




More information about the bitbake-devel mailing list