From f714c59100dcfafdfd6842654b70d3653ddfe8c9 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Fri, 31 Mar 2023 20:56:17 +0300 Subject: [PATCH] linux-linaro-qcomlt-dev: fix SRCREV override Currently linux-linaro-qcomlt-dev fails because SRCREV is applied too late to be fully processed, which results in the following bitbake error. Fix it by enforcing immediate parsing of SRCREV assignment. ERROR: /home/lumag/Projects/RPB/build-rpb/conf/../../layers/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb: AUTOREV/SRCPV set too late for the fetcher to work properly, please set the variables earlier in parsing. Erroring instead of later obtuse build failures. Signed-off-by: Dmitry Baryshkov --- recipes-kernel/linux/linux-linaro-qcomlt-dev.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb b/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb index 9aae535..ee31dff 100644 --- a/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb +++ b/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb @@ -14,7 +14,7 @@ SRCBRANCH = "integration-linux-qcomlt" # hence prevent network access during parsing. If linux-linaro-qcomlt-dev # is the preferred provider, they will be overridden to AUTOREV in following # anonymous python routine and resolved when the variables are finalized. -SRCREV ?= '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-linaro-qcomlt-dev", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}' +SRCREV := '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", "linux-linaro-qcomlt-dev", "${AUTOREV}", "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}' LINUX_VERSION = "5.11+" PV = "${LINUX_VERSION}+git${SRCPV}"