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.bur...@intel.com] > Sent: September 22, 2014 7:34 AM > To: Vuille, Martin (Martin) > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Forcing fetch task when source changes > > On 22 September 2014 12:25, Vuille, Martin (Martin) <vmar...@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 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto