Patchwork [v3,02/12] build-appliance-image: 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 <a4b6038a3df2319401d489e287b545c48ddf6c68.1374670080.git.emilia.maria.silvia.ciobanu@intel.com>
Download mbox | patch
Permalink /patch/54421/
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>
---
 ...e-image_8.0.bb => build-appliance-image_git.bb} |    2 ++
 1 file changed, 2 insertions(+)
 rename meta/recipes-core/images/{build-appliance-image_8.0.bb => build-appliance-image_git.bb} (99%)

Patch

diff --git a/meta/recipes-core/images/build-appliance-image_8.0.bb b/meta/recipes-core/images/build-appliance-image_git.bb
similarity index 99%
rename from meta/recipes-core/images/build-appliance-image_8.0.bb
rename to meta/recipes-core/images/build-appliance-image_git.bb
index fad4176..1b83911 100644
--- a/meta/recipes-core/images/build-appliance-image_8.0.bb
+++ b/meta/recipes-core/images/build-appliance-image_git.bb
@@ -27,6 +27,8 @@  SRC_URI = "git://git.yoctoproject.org/poky;protocol=git \
            file://Yocto_Build_Appliance.vmxf \
           "
 
+PV = "8.0+git${SRCPV}"
+
 IMAGE_CMD_ext3_append () {
 	# We don't need to reserve much space for root, 0.5% is more than enough
 	tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3