Allow SRCREV handling through poky-agl.conf
[AGL/meta-agl-demo.git] / recipes-demo-hmi / unicens / unicens_0.1.bb
index 0fc0afc..7b854ea 100644 (file)
@@ -8,7 +8,7 @@ PV = "0.1"
 
 DEPENDS += "libxml2"
 
-SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/unicens;protocol=https"
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/unicens;protocol=https;branch=${AGL_BRANCH}"
 SRC_URI += "file://0001-Fix-cross-compilation-with-yocto.patch"
 SRC_URI += "file://0001-Support-booting-by-systemd.patch \
             file://most-network-startup.service \
@@ -16,7 +16,7 @@ SRC_URI += "file://0001-Support-booting-by-systemd.patch \
 
 S = "${WORKDIR}/git"
 #SRCREV = "8c5f2324d7aa61669324aec1a0ad091fe1379489"
-SRCREV = "${AUTOREV}"
+SRCREV = "${AGL_DEFAULT_REVISION}"
 
 do_install() {
     install -m 0755 -d ${D}/usr/AGL/most