Patchwork [v3,11/12] rt-tests: fix recipe name add GIT revision to PV variable

login
register
mail settings
Submitter Emilia Ciobanu
Date July 24, 2013, 2:15 p.m.
Message ID <facde26e489345a506bf85d312a865ad1ae545d8.1374670080.git.emilia.maria.silvia.ciobanu@intel.com>
Download mbox | patch
Permalink /patch/54433/
State New
Headers show

Comments

Emilia Ciobanu - July 24, 2013, 2:15 p.m.
Git packages should have the following format for the PV variable:
	version_tag+git[r|\-|]?AUTOINC+git_revision

Git recipes should also contain _git token in their name instead of
their version.

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
---
 .../rt-tests/{rt-tests_0.85.bb => rt-tests_git.bb} |    1 +
 1 file changed, 1 insertion(+)
 rename meta/recipes-rt/rt-tests/{rt-tests_0.85.bb => rt-tests_git.bb} (97%)

Patch

diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.85.bb b/meta/recipes-rt/rt-tests/rt-tests_git.bb
similarity index 97%
rename from meta/recipes-rt/rt-tests/rt-tests_0.85.bb
rename to meta/recipes-rt/rt-tests/rt-tests_git.bb
index c3964d2..522fb9c 100644
--- a/meta/recipes-rt/rt-tests/rt-tests_0.85.bb
+++ b/meta/recipes-rt/rt-tests/rt-tests_git.bb
@@ -10,6 +10,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
 require rt-tests.inc
 
 PR = "${INC_PR}.0"
+PV = "0.85+git${SRCPV}"
 
 # Do not install hwlatdetect
 EXTRA_OEMAKE += "PYLIB=''"