Use SRCPV instead of SRCREV where possible

This change reduces the length of ${PV} for several recipes and gives us
auto-incrementing version numbers.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Paul Barker 2019-01-11 16:49:15 +00:00 committed by Bruce Ashfield
parent 8bd3ee327d
commit 488b5aba28
9 changed files with 9 additions and 9 deletions

View File

@ -12,7 +12,7 @@ SRC_URI += "file://containerd.service"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "${CONTAINERD_VERSION}+git${SRCREV}" PV = "${CONTAINERD_VERSION}+git${SRCPV}"
inherit go inherit go
inherit goarch inherit goarch

View File

@ -10,7 +10,7 @@ PKG_NAME = "github.com/codegangsta/${SRCNAME}"
SRC_URI = "git://${PKG_NAME}.git" SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e"
PV = "1.1.0+git${SRCREV}" PV = "1.1.0+git${SRCPV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"

View File

@ -10,7 +10,7 @@ PKG_NAME = "github.com/godbus/${SRCNAME}"
SRC_URI = "git://${PKG_NAME}.git" SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3" SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3"
PV = "4.0.0+git${SRCREV}" PV = "4.0.0+git${SRCPV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"

View File

@ -10,7 +10,7 @@ PKG_NAME = "github.com/fsnotify/${SRCNAME}"
SRC_URI = "git://${PKG_NAME}.git" SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6" SRCREV = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6"
PV = "1.2.11+git${SRCREV}" PV = "1.2.11+git${SRCPV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"

View File

@ -10,7 +10,7 @@ PKG_NAME = "github.com/Sirupsen/${SRCNAME}"
SRC_URI = "git://${PKG_NAME}.git" SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb" SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb"
PV = "0.11.0+git${SRCREV}" PV = "0.11.0+git${SRCPV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"

View File

@ -10,7 +10,7 @@ PKG_NAME = "github.com/coreos/go-${SRCNAME}"
SRC_URI = "git://${PKG_NAME}.git" SRC_URI = "git://${PKG_NAME}.git"
SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388" SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
PV = "4+git${SRCREV}" PV = "4+git${SRCPV}"
RDEPENDS_${PN} += "bash" RDEPENDS_${PN} += "bash"

View File

@ -10,7 +10,7 @@ SRC_URI = "git://github.com/hyperhq/hyperstart.git"
SRC_URI += "file://0001-container.c-Fix-compiler-errors-that-gcc-8.1.0-repor.patch" SRC_URI += "file://0001-container.c-Fix-compiler-errors-that-gcc-8.1.0-repor.patch"
SRCREV = "15bb718ad34045aa1962a8204f602c6afe9a76ab" SRCREV = "15bb718ad34045aa1962a8204f602c6afe9a76ab"
PV = "v0.2+git${SRCREV}" PV = "v0.2+git${SRCPV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"

View File

@ -17,7 +17,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
" "
SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc" SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc"
PV = "4.14.0+git${SRCREV}" PV = "4.14.0+git${SRCPV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"

View File

@ -14,7 +14,7 @@ RDEPENDS_${PN}-ptest += "\
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "2.10.1+${SRCREV}" PV = "2.10.1+${SRCPV}"
FILESEXTRAPATHS_append := "${THISDIR}/${PN}-git:" FILESEXTRAPATHS_append := "${THISDIR}/${PN}-git:"