[bitbake-devel] [PATCH 3/4] fetch2/repo: Make fetcher always sync on unpack

Oleksandr Andrushchenko andr2000 at gmail.com
Tue Nov 7 19:31:32 UTC 2017


On 11/07/2017 03:45 PM, Richard Purdie wrote:
> On Tue, 2017-10-24 at 14:35 +0300, Oleksandr Andrushchenko wrote:
>> From: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
>>
>> Currently if repo has fetched the repository and
>> cached it to a tar file it never runs repo sync again,
>> thus making the build use potentially outdated repo.
>> Fix this by implementing unpack functionality which runs
>> repo sync.
> This sounds incorrect to me. The unpack task is not meant to touch the
> network at all, all network access should be done in the fetch
> function.
agree, so, instead this should be done via supporting source

revisions, so fetcher can deal with it? Is this understanding correct?

> Cheers,
>
> Richard
Thank you,
Oleksandr



More information about the bitbake-devel mailing list