01-09-2019 03:07 PM
I'm trying to generate sysroot using petalinux-build -s, and my build dies when trying to update git submodules in qemu:
fatal: clone of 'git://git.qemu.org/capstone.git' <long path deleted> failed
There's a good reason for this - my company's IT group has disabled any net access that is not https from the build machines.
I've downloaded the cache file (https://www.xilinx.com/member/forms/download/xef.html?filename=sstate-rel-v2018.3.tar.gz), and configured petalinux to use it (per https://www.xilinx.com/member/forms/download/xef.html?filename=sstate_rel_2018.3_README.tar.gz). A regular build (petalinux-build) works fine. But for whatever reason the qemu portion of the SDK build insists on trying to go to git.qemu.org.
How do I convince petalinux to stay local for everything? If necessary I'm happy to disable qemu altogether, as I'm running on real hardware and don't need emulation, but I'm concerned that this is just the first failure, and if qemu is disabled, something else will break the build.
01-09-2019 11:58 PM - edited 01-10-2019 07:49 AM
01-10-2019 07:44 AM
Please refer Yocto proxy settings. https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy
01-11-2019 08:49 AM
So I tried what's described in the GIT section of the referenced wiki page, with no success. I still get:
| fatal: unable to connect to git.qemu.org:
| git.qemu.org[0: 22.214.171.124]: errno=Connection timed out
And the build dies.
I also tried the BB NoNetwork option in the configuration to try and convince Bit Bake that everything was local in the SSTATE_CACHE location, but that failed immediately.
So how do I convince petalinux that it can't go to the network for anything?