There is a bit more in the Yocto Project Reference Manual at 
http://www.yoctoproject.org/docs/latest/poky-ref-manual/poky-ref-manual.html.   
It states:

SRCREV - The revision of the source code used to build the package.  This 
variable applies to Subversion, Git, Mercurial and Bazaar only.  Note that if 
you wish to build a fixed revision and you wish to avoid performing a query on 
the remote repository every time BitBake parses your recipe, you should specify 
a SRCREV that is a full revision identifier and not just a tag.

Also, Section 5.1.6 of that reference manual has some information on developing 
within Yocto Project for a package that uses an external SCM.

I am not sure if these will help you but this is where the latest documentation 
is for SRCREV.

ScottR

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Saxena, Rahul
Sent: Wednesday, November 23, 2011 3:19 PM
To: yocto@yoctoproject.org
Subject: [yocto] SRCREV variable

Hi ,

Can anyone explain how to set the SRCREV variable for a recipe ?

I get a error: "Please Set SRCREV to a valid value"

The poky manual simply has the following explanation:

'SRCREV               Revision of source code used to build package 
(Subversion, GIT, Bazaar only). '


For example if my source is MesaLib-7.9.tar.bz2 file from following site...what 
steps do I need to do to get the SRCREV ?

ftp://ftp.freedesktop.org/pub/mesa/7.9/



Thanks
Rahul
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to