Re: [yocto] Downloading Git Archives

2019-09-27 Thread Rudolf J Streif
On 9/27/19 2:27 AM, Ross Burton wrote: > On 27/09/2019 05:33, Chuck Wolber wrote: >> I was hoping that there was an equally simple way of grabbing git >> repository packages from an Internet connected host without having a >> bitbake build cache them for me. > > The easy way is to get bitbake to

Re: [yocto] Downloading Git Archives

2019-09-27 Thread Ross Burton
On 27/09/2019 05:33, Chuck Wolber wrote: I was hoping that there was an equally simple way of grabbing git repository packages from an Internet connected host without having a bitbake build cache them for me. The easy way is to get bitbake to do it for you. A git mirror tarball is just a

Re: [yocto] Downloading Git Archives

2019-09-26 Thread Chuck Wolber
Thanks for replying! That is effectively what we have to do with the VM clone of the build machine. We spin up the VM, do the build, see what is new in the downloads directory, do our due diligence, and push the new stuff into the local mirror behind the firewall. The primary build server must

Re: [yocto] Downloading Git Archives

2019-09-26 Thread Rudolf J Streif
Chuck, Unless I am missing something (which I cannot entirely rule out), the default PREMIRRORS should actually do what you want. For the poky distro configuration has this: PREMIRRORS ??= "\ bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \ cvs://.*/.*  

[yocto] Downloading Git Archives

2019-09-26 Thread Chuck Wolber
Hi All, Our build environment is stuck behind a firewall with no access to the Internet. When a Yocto build requires a new package, we normally extract the URL from the failed build log and "wget" the package from the upstream source, do our due diligence (checksums, etc), and then add it to the