[yocto] [meta-raspberrypi][PATCH] firmware.inc: Fetch a zip instead of cloning a git repo

Jon Szymaniak jon.szymaniak at gmail.com
Fri Jun 26 07:16:47 PDT 2015


On Fri, Jun 26, 2015 at 4:31 AM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 26 June 2015 at 05:16, Jon Szymaniak <jon.szymaniak at gmail.com> wrote:
>
>> GitHub provides this ability to download repository contents at
>> a specified changeset as a zip file. This is generally *much* quicker
>> than fetching the entire git repository.
>>
>
> Github also can and will regenerate these tarballs whenever it feels like
> it, so you'll need to periodically update the checksums.  Obviously as
> existing developers will tend to have the tarballs cached locally, it can
> be a while before this failure is reported back.
>
> A better solution might be to add support for "depth" to the git fetcher,
> so you can grab just the commit you are interested in instead of the entire
> repository.
>
> Ross
>

Hi Ross,

Excellent point about the regeneration potentially yielding different
checksums.  I suppose they could change the compression level they use at
any moment in time... I'll look into adding that depth support to the
fetcher, as that doesn't look too hard at all.

I'm open to other suggestions as well, as this was just a first stab at it.
I've been seeing that cloning this git repo containing binary firmware
blobs takes an absurd amount of time, if it even finishes at all
successfully.

Cheers,
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150626/85fc5f77/attachment.html>


More information about the yocto mailing list