[yocto] Downloading Git Archives
Ross Burton
ross.burton at intel.com
Fri Sep 27 02:27:51 PDT 2019
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 clone with a specific name and path, but the easy solution is
definitely to run bitbake --c fetchall on a machine with connectivity
and expose the DL_DIR to the builders.
This is what the yocto autobuilder does, by the way. The workers don't
have connectivity to the outside internet, so the master does a fetchall
with the proxies configured to populate DL_DIR before the workers do the
actual build.
Ross
More information about the yocto
mailing list