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

Martin Jansa martin.jansa at gmail.com
Tue Oct 18 20:17:08 UTC 2011


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.

Regards,

> search paths. cleansstate might not have information that the patch
> was downloaded
> and not applied from local metadata after the recipe is updated.


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111018/e0e29943/attachment-0002.sig>


More information about the Openembedded-core mailing list