[yocto] Forcing fetch task when source changes
Vuille, Martin (Martin)
vmartin at avaya.com
Mon Sep 22 05:02:46 PDT 2014
Would this work for a directory tree as opposed to a single file?
Also, the current "copy" is not a straight copy, it excludes certain files.
But I might be able to deal with that post-fetch.
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