From: Tadao Tanikawa Date: Mon, 12 Dec 2016 04:36:19 +0000 (+0900) Subject: Adding PV to work ${AUTOREV} correctly X-Git-Tag: 3.0.0~62 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=a8bbee9a90ccf74b8a73c9e481ea9d69a04a1827;p=AGL%2Fmeta-agl-demo.git Adding PV to work ${AUTOREV} correctly To work 'SRCREV = ${AUTOREV}' correctly (which means always fetch the latest version available at build), PV needs to be modified which includes ${SRCPV}. Change-Id: I6bff49b493e99ba1e8eaadc5093d11e03ceaa7c9 Signed-off-by: Tadao Tanikawa --- diff --git a/recipes-demo-hmi/homescreen/homescreen_git.bb b/recipes-demo-hmi/homescreen/homescreen_git.bb index 3146d21f8..4900c499d 100644 --- a/recipes-demo-hmi/homescreen/homescreen_git.bb +++ b/recipes-demo-hmi/homescreen/homescreen_git.bb @@ -21,6 +21,9 @@ DEPENDS += " qtdeclarative qtquickcontrols2 " LIC_FILES_CHKSUM = "file://HomeScreen/LICENSE;md5=ae6497158920d9524cf208c09cc4c984" SRCREV = "${AUTOREV}" +# PV needs to be modified with SRCPV to work AUTOREV correctly +PV = "0.0+git${SRCPV}" + SRC_URI = "git://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git;protocol=http" PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"