[OE-core] Possible stale tags in the download directory

Richard Purdie richard.purdie at linuxfoundation.org
Wed Dec 7 15:00:54 UTC 2011


On Wed, 2011-12-07 at 14:37 +0000, Paul Eggleton wrote:
> On Wednesday 07 December 2011 15:30:38 Ulf Samuelsson wrote:
> > Richard says that if the *.done file is there, then the checksum is not
> > calculated.
> > Or that is at least how I interpret his comment.
> > 
> > If the check is always there, why the tag?
> 
> That's not what my reading of the bitbake source says. 
> bitbake/lib/bb/fetch2/__init__.py contains the only references to .done files 
> and all it does is make sure the done file gets "touched" whenever a fetch for 
> the associated file occurs; it does not otherwise check for its existence.

It does two things, one is an activity marker useful for seeing whether
files are in active use and the second is for the checksum calculation
which only ever happens once after download due to the file (see
verify_checksum() in that file).

Cheers,

Richard





More information about the Openembedded-core mailing list