On 12/5/25 18:24, Alexander Kanavin wrote:
> On Fri, 5 Dec 2025 at 16:46, Gyorgy Sarvari via lists.yoctoproject.org
> <[email protected]> wrote:
>> I have been thinking about this, and also tried to reproduce it,
>> unsuccessfully...
>>
>> If fetch is deemed successful, it is stored in the shared state cache,
>> and then it is not repeated until the relevant signature changes - I
>> think this is the metadata reference you found.
>> However as long as the download folder's content is only modified by one
>> project only, it supposed keep track of it fine.
>>
>> One question about the DL_DIR: is it possible that it is shared between
>> multiple projects, while keeping separate shared state cache? Or that
>> the DL_DIR's content modified manually?
>> The shared state cache supposed to keep track of what is downloaded by
>> bitbake and what is not, but if the DL_DIR's content is changed without
>> bitbake (or by a separate bitbake), that can break the shared state, and
>> cause such issues.
> This is not correct. Shared state does not track what is downloaded.

It depends on how you interpret it. Sstate does track the do_fetch task,
and does know if it needs to re-executed or not.

> It is also fine to share DL_DIR between multiple builds and projects.

I did not write that it is not fine to share DL_DIR, but but you need to
know some caveats. If you run bitbake -c cleanall in one project, you
are up for a good time in the other one, if they use the same recipe.

>
> Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#66095): https://lists.yoctoproject.org/g/yocto/message/66095
Mute This Topic: https://lists.yoctoproject.org/mt/116612004/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to