[bitbake-devel] [PATCH 3/4] fetch2/repo: Make fetcher always sync on unpack
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Nov 8 18:09:16 UTC 2017
On Tue, 2017-11-07 at 21:31 +0200, Oleksandr Andrushchenko wrote:
> 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?
Yes, correct.
Cheers,
Richard
More information about the bitbake-devel
mailing list