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

2012-08-23 Thread Robert P. J. Day
On Thu, 23 Aug 2012, McClintock Matthew-B29882 wrote:

> On Wed, Aug 22, 2012 at 8:11 PM, Robert P. J. Day  
> 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


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


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

2012-08-22 Thread McClintock Matthew-B29882
On Wed, Aug 22, 2012 at 8:11 PM, Robert P. J. Day  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.

-M

>
> rday
>
> --
>
> 
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter:   http://twitter.com/rpjday
> LinkedIn:   http://ca.linkedin.com/in/rpjday
> 
>
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


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

2012-08-22 Thread Robert P. J. Day

  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.

rday

-- 


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

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


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core