Patchwork [v2,08/11] build-appliance-image: add GIT revision to PV variable

login
register
mail settings
Submitter Emilia Ciobanu
Date July 18, 2013, 4:05 p.m.
Message ID <951684e48f98589b7bb69095416168402c03aefd.1374162581.git.emilia.maria.silvia.ciobanu@intel.com>
Download mbox | patch
Permalink /patch/54007/
State New
Headers show

Comments

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

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
---
 .../images/build-appliance-image_8.0.bb            |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-core/images/build-appliance-image_8.0.bb b/meta/recipes-core/images/build-appliance-image_8.0.bb
index fad4176..1b83911 100644
--- a/meta/recipes-core/images/build-appliance-image_8.0.bb
+++ b/meta/recipes-core/images/build-appliance-image_8.0.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