[yocto] Forcing fetch task when source changes

Vuille, Martin (Martin) vmartin at avaya.com
Tue Sep 23 05:46:11 PDT 2014


Perhaps I misunderstood your suggestion or I am missing
something obvious, but this doesn't work either.

If I point to my source with SRC_URI, the source does get
copied over to ${S} but changing the source doesn't trigger
a new fetch/unpack.

This is cleaner than what I was doing, but doesn't address
my issue of having to manually force a fetch/unpack every
time the source changes.

Perhaps due to my old versions: Poky 1.2 and bitbake 1.15.1?

MV


> -----Original Message-----
> From: Burton, Ross [mailto:ross.burton at intel.com]
> Sent: September 22, 2014 7:34 AM
> To: Vuille, Martin (Martin)
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] Forcing fetch task when source changes
> 
> On 22 September 2014 12:25, Vuille, Martin (Martin) <vmartin at avaya.com>
> wrote:
> > I have defined a class with a customized fetch task (that
> >
> > copies files from a local read-only directory to the ${S}
> >
> > directory).
> >
> >
> >
> > I am looking for a way to cause the fetch task to run
> >
> > again whenever the contents of the local directory
> >
> > change w.r.t. what was last fetched/copied to ${S}.
> 
> Why not just use local URIs in the SRC_URI:
> 
> SRC_URI="file:///home/foo/bar/flob.c"
> 
> Ross


More information about the yocto mailing list