From 10c9f16b8853d0e4c2e75b4382122b6a6aa4a734 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Sun, 5 Nov 2017 12:56:07 +0100 Subject: Allow SRCREV handling through poky-agl.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change simplifies the SRCREV handling by using - AGL_APP_REVISION and AGL_DEFAULT_REVISION in recipes. Also the AGL_BRANCH can be used to switch to release branches. Finally git checkouts should use https by default. Bug-AGL: SPEC-864 Change-Id: I2fdacda8fa7373f309a47db72ad40106ade53434 Signed-off-by: Jan-Simon Möller --- recipes-kernel/mocca-usb/mocca-usb.bb | 2 +- recipes-kernel/most/most.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes-kernel') diff --git a/recipes-kernel/mocca-usb/mocca-usb.bb b/recipes-kernel/mocca-usb/mocca-usb.bb index 246f25be8..cf4e5856b 100644 --- a/recipes-kernel/mocca-usb/mocca-usb.bb +++ b/recipes-kernel/mocca-usb/mocca-usb.bb @@ -6,7 +6,7 @@ inherit module PV = "0.1" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/can-lin/;protocol=https" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/can-lin/;protocol=https;branch=${AGL_BRANCH}" S = "${WORKDIR}/git/Usb-Driver" SRCREV = "02ba272c0eb51b06160307b6cb71f91684772c8c" diff --git a/recipes-kernel/most/most.bb b/recipes-kernel/most/most.bb index 512610af9..dd676c73c 100644 --- a/recipes-kernel/most/most.bb +++ b/recipes-kernel/most/most.bb @@ -6,12 +6,12 @@ inherit module PV = "0.1" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/most;protocol=https" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/most;protocol=https;branch=${AGL_BRANCH}" SRC_URI_append_porter = " file://0001-aim-network-3.10.31-ltsi-backport.patch \ file://0001-aim-sound-3.10.31-ltsi-backport.patch \ " S = "${WORKDIR}/git/driver" -SRCREV = "${AUTOREV}" +SRCREV = "${AGL_DEFAULT_REVISION}" # The inherit of module.bbclass will automatically name module packages with # "kernel-module-" prefix as required by the oe-core build environment. -- cgit 1.2.3-korg