kmod:add GIT revision to PV variable
authorEmilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Fri, 12 Jul 2013 14:56:24 +0000 (17:56 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Jul 2013 10:35:31 +0000 (11:35 +0100)
Git packages should have the following format for the PV variable:
version_tag+git[r|\-|]?AUTOINC+git_revision

Git packages should include git token inside the PV variable.

(From OE-Core rev: 70d0938c304cd49e08cbcb28e391e7ace8e666e0)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kmod/kmod_git.bb

index ca6b004..6afaca6 100644 (file)
@@ -4,6 +4,7 @@
 require kmod.inc
 
 PR = "${INC_PR}.0"
+PV = "9+git${SRCPV}"
 
 PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
 RPROVIDES_${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"