[yocto] SRCREV variable

Rifenbark, Scott M scott.m.rifenbark at intel.com
Wed Nov 23 15:36:45 PST 2011


Rahul,

Okay - I was not sure whether it would help.  Hopefully one of the developers will chime in here and help.  My stuff was from the technical documentation point of view.

Scott

From: Saxena, Rahul
Sent: Wednesday, November 23, 2011 3:35 PM
To: Rifenbark, Scott M; yocto at yoctoproject.org
Subject: RE: SRCREV variable

Yes I saw this other stuff too...but I don't see anywhere the explanation of how a revision identifier is generated or obtained.

Thanks
Rahul


From: Rifenbark, Scott M
Sent: Wednesday, November 23, 2011 3:30 PM
To: Saxena, Rahul; yocto at yoctoproject.org
Subject: RE: SRCREV variable

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-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Saxena, Rahul
Sent: Wednesday, November 23, 2011 3:19 PM
To: yocto at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20111123/33a5c334/attachment.html>


More information about the yocto mailing list