[yocto] problem with yocto behind http_proxy

Federico Vitali fede.vitali at gmail.com
Wed Feb 19 02:44:35 PST 2014


Hi,

I have problems using yocto behind a firewall. The firewall blocks git, so
I've followed the instructions
given here:

http://www.yoctoproject.org/docs/1.5.1/ref-manual/ref-manual.html#how-does-the-yocto-project-obtain-source-code-and-will-it-work-behind-my-firewall-or-proxy-server

i.e. adding the following lines to my local.conf:

PREMIRRORS_prepend = "\
     git://.*/.* http://www.yoctoproject.org/sources/ \n \
     ftp://.*/.* http://www.yoctoproject.org/sources/ \n \
     http://.*/.* http://www.yoctoproject.org/sources/ \n \
     https://.*/.* http://www.yoctoproject.org/sources/ \n"

BB_FETCH_PREMIRRORONLY = "1"


but I still get the following errors:

ERROR: Function failed: Network access disabled through BB_NO_NETWORK
(or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access
requested with command git fetch -f --prune
git://git.yoctoproject.org/yocto-kernel-tools.git refs/*:refs/* (for
url git://git.yoctoproject.org/yocto-kernel-tools.git)
ERROR: Logfile of failure stored in:
/home/vitalife/yocto/poky-dora-10.0.1/build/tmp/work/x86_64-linux/kern-tools-native/0.2+gitAUTOINC+a42509b01c-r12/temp/log.do_fetch.4490

It seems that bitbake is still trying to access the server with git.

Any suggestion?

Thank you in advance

Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140219/59a7b737/attachment.html>


More information about the yocto mailing list