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

Richard Purdie richard.purdie at linuxfoundation.org
Tue Nov 7 13:45:30 UTC 2017


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.

Cheers,

Richard



More information about the bitbake-devel mailing list