[OE-core] Race condition or something when fetching local files?

Denys Dmytriyenko denis at denix.org
Fri Oct 21 00:47:21 UTC 2011


On Tue, Oct 18, 2011 at 10:17:08PM +0200, Martin Jansa wrote:
> On Tue, Oct 18, 2011 at 01:09:43PM -0700, Khem Raj wrote:
> > On Tue, Oct 18, 2011 at 11:35 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > > I have noticed that even local patches are stored in downloads dir,
> > > but today I've noticed that wrong file was used later in do_patch.
> > > I have latest oe-core/meta-oe + latest bitbake.
> > >
> > > Pulseaudio was building here for first time
> > >
> > > downloads/buildfix.patch is from previous build of xf86-video-intel-2.16.0
> > > $ head downloads/buildfix.patch
> > 
> > looking in bitbake lib/bb/fetch2/local.py it seems it searches DL_DIR
> > before other
> 
> Which would be wrong for sure if I have
> foo_1.0.bb with SRC_URI = "file://bar.patch"
> 
> foo-1.0/om-gta02/bar.patch
> foo-1.0/nokia900/bar.patch
> 
> Then I don't want to use bar.patch from downloads/bar.patch where it's
> from om-gta02 build when I'm building nokia900 now.

Was there any resolution on this one?

-- 
Denys




More information about the Openembedded-core mailing list