Skip to contentSkip to conversation

Naming/Version conventions for git/svn recipes

DISCUSSION Andreas Mueller 2 participants 2 messages Jul 13, 2010 – Jul 14, 2010

lore
Share & tools
lore
#0 lore raw

I did not find this in documentation. What is the preferred convention for PV/PR. Up to now I saw:

Option 1:
PV = "1.3.8+git${SRCREV}"
PR = "r0"

Option 2:
PV = "1.1.0"
PR = "${INC_PR}.0"
PR_append = "+git${SRCREV}"

Is there a preferred convention?

Andreas

#1 lore raw
Quoted 5 lines · Andreas Mueller

I did not find this in documentation. What is the preferred convention for PV/PR. Up to now I saw:

Option 1:
PV = "1.3.8+git${SRCREV}"
PR = "r0"

if you have select this recipe you have to specify the SRCREV which is git SHA in the PREFERRED_VERSION which is kind of long and annoying.

Quoted 6 lines

Option 2:
PV = "1.1.0"
PR = "${INC_PR}.0"
PR_append = "+git${SRCREV}"

which this one you PV is 1.1.0 you can set PV to git also which means then you can say PREFERRED_VERSION_xxx = "git"

Recipe still gets rebuilt if you bump SRCREV because of PR_append = "+gitr${SRCPV}"

Quoted 9 lines

Is there a preferred convention?

Andreas

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel