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

Ulf Samuelsson openembedded-core at emagii.com
Wed Dec 7 23:46:45 UTC 2011


On 2011-12-07 22:43, Khem Raj wrote:
> On (07/12/11 15:00), Richard Purdie wrote:
>> 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).
> when do we create .done files? if I am in middle of download of a tar
> file and I cancel it and restart it does not fetch the file again but
> tried to use the corrupt file.
>
> Is it a big build time hit if checksums are verified all the time ?
>

I have seen the same problem.

-- 
Best Regards
Ulf Samuelsson
eMagii





More information about the Openembedded-core mailing list