[OE-core] why does using a "revision" prevent downloading during a parse?

Robert P. J. Day rpjday at crashcourse.ca
Thu Aug 23 11:42:07 UTC 2012


On Thu, 23 Aug 2012, McClintock Matthew-B29882 wrote:

> On Wed, Aug 22, 2012 at 8:11 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> >
> >   certainly about to embarrass myself again, but from
> > u-boot_2011.06.bb:
> >
> > ...
> > # This revision corresponds to the tag "v2011.06"
> > # We use the revision in order to avoid having to fetch it from the repo during parse
> > SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
> >
> > PV = "v2011.06+git${SRCPV}"
> > ...
> >
> >   i don't know what that means -- how does using that "revision"
> > prevent fetching?  i would simply have defined the SRC_URI using the
> > tag value, so i'm not sure what benefit i'm getting out of the above.
>
> You should look for the patch that made that change and read the
> commit message.

  ah, quite so ... i had to pop into the 2011.03 recipe file to get
that info from "git blame" but i now get it, thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list