[yocto] : git tag and PV variable

Khem Raj raj.khem at gmail.com
Wed Feb 24 07:35:49 PST 2016


On Wed, Feb 24, 2016 at 10:29 AM, GUEYTAT Julien <
j.gueytat at cdssoft.studiel.fr> wrote:

> Hi,
>
>
>
> I have this command in my qmake pro files:
>
> VERSION = $$system(git describe --abbrev=0 --tags)
>
>
>
> I would like to have the package manager follow the tag versioning.
>
>
>
> Which means I would like to have something like:
>
> PV = "git describe --abbrev=0 --tags"
>
> SRC_URI = "${STUDIEL_GIT}/core.git;protocol=file;tag=${PV}"
>
>
>
> It does not work for sure. What is the correct way to do this ?
>

​SRC_URI is required by fetcher and there is nothing to git describe before
it is fetched.​
so thats your problem.



>
>
> Thanks for sharing!
>
>
>
> *Julien GUEYTAT*
>
> *Ingénieur Informatique*
>
> [image: Logo CDS SOFT]
>
> 1027, avenue du Docteur Julien Lefebre BP27
>
> 06271 Villeneuve-Loubet Cedex
>
> *Fixe* :  +33 (0) 492 024 545
> *Mob* :  +33(0) 617 980 383
> *Fax* :    +33(0) 492 024 546
> *Email* : j.gueytat at cdssoft.studiel.fr
>
> *www* : www.studiel.fr
>
> *P* *Pensez Environnement, imprimez seulement si nécessaire*
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160224/89550efb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7552 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160224/89550efb/attachment.png>


More information about the yocto mailing list