[bitbake-devel] [PATCH] bitbake: fetch2: Revalidate checksums, YOCTO #5571

Martin Jansa martin.jansa at gmail.com
Fri Mar 6 12:22:38 UTC 2015


On Fri, Mar 06, 2015 at 12:43:28PM +0100, Clemens Lang wrote:
> Hello,
> 
> On Fri, Feb 27, 2015 at 01:00:26PM +0100, Clemens Lang wrote:
> > Here's the patch, please review and consider applying:
> 
> Any feedback on this? Anything I can do to get this reviewed?

FWIW: I like this, we were hit by this issue when the archive is
modified in premirror and builders are happily using it, because there
is .done file next to it.

This will at least fix the case when the file is intentionally modified
and checksums are updated in recipe to prevent re-using stalled file
from some premirror.

Using pickle is much better than counting the checksums on every
do_fetch.. we have GBs of sources and we don't want to spend extra
minutes on the build to re-check them if they are identical. Maybe add
the file time stamp as well, if the file was modified then .done could
be invalidated and checksums re-verified.

Regards,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20150306/3a98adfa/attachment-0002.sig>


More information about the bitbake-devel mailing list