[yocto] Setting PV dynamically in a recipe

Martin Jansa martin.jansa at gmail.com
Tue Dec 17 06:01:59 PST 2013


On Tue, Dec 17, 2013 at 08:16:40AM +0000, Brad Litterell wrote:
> Hi,
> 
> I have a few recipes in my image that represent my own custom code.  I would like to generate PV dynamically from my source code, but since the recipe is parsed before the code is extracted from the tarball, that's not easy to do.
> 
> The Poky reference manual implies this is possible:
> PV is generally not overridden within a recipe unless it is building an unstable (i.e. development) version from a source code repository (e.g. Git or Subversion).
> 
> However, I have not found an actual example. Is there a recommended way to do this?

Do you really need to change PV? Check PKGV,
meta-openembedded/meta-oe/classes/gitpkgv.bbclass could be interesting
example for you.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131217/232b6659/attachment.pgp>


More information about the yocto mailing list