Patchwork [v3,12/12] update-rc.d: fix recipe name and add GIT revision to PV variable

login
register
mail settings
Submitter Emilia Ciobanu
Date July 24, 2013, 2:15 p.m.
Message ID <9dae86e259fa5b23713c474a81f5e5492a113f39.1374670080.git.emilia.maria.silvia.ciobanu@intel.com>
Download mbox | patch
Permalink /patch/54435/
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>
---
 .../{update-rc.d_0.7.bb => update-rc.d_git.bb}     |    1 +
 1 file changed, 1 insertion(+)
 rename meta/recipes-core/update-rc.d/{update-rc.d_0.7.bb => update-rc.d_git.bb} (97%)

Patch

diff --git a/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb b/meta/recipes-core/update-rc.d/update-rc.d_git.bb
similarity index 97%
rename from meta/recipes-core/update-rc.d/update-rc.d_0.7.bb
rename to meta/recipes-core/update-rc.d/update-rc.d_git.bb
index bfcbd97..a103192 100644
--- a/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb
+++ b/meta/recipes-core/update-rc.d/update-rc.d_git.bb
@@ -15,6 +15,7 @@  SRC_URI = "git://github.com/philb/update-rc.d.git;protocol=git \
            file://check-if-symlinks-are-valid.patch \
           "
 
+PV = "0.7+git${SRCPV}"
 S = "${WORKDIR}/git"
 
 inherit allarch