[yocto] : git tag and PV variable

GUEYTAT Julien j.gueytat at cdssoft.studiel.fr
Wed Feb 24 07:29:50 PST 2016


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 ?

Thanks for sharing!

Julien GUEYTAT
Ingénieur Informatique
[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<mailto:j.gueytat at cdssoft.studiel.fr>
www : www.studiel.fr<http://www.studiel.fr/>
P Pensez Environnement, imprimez seulement si nécessaire

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160224/c22e8b23/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7552 bytes
Desc: image001.png
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160224/c22e8b23/attachment.png>


More information about the yocto mailing list