From b10c715746f5be837fe33421a48f6018ed5021aa Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 4 Mar 2022 06:12:45 +0000 Subject: srcrev_update: fix update task with latest fetcher Additional check was added into the bb.fetcher that needs to be workaround in srcrev_update task. Otherwise task will fail with error: Exception: bb.fetch2.FetchError: Fetcher failure: Recipe uses a floating tag/branch without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE). Change-Id: Ib3c2665257c344c312074519a03d96437866cd8d Reviewed-by: Mikko Gronoff (cherry picked from commit 6492c169550c3750fe6c93592b38f182bca2c609) Reviewed-by: Qt Cherry-pick Bot --- classes/srcrev-update.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/srcrev-update.bbclass b/classes/srcrev-update.bbclass index 880af30..01ed8a2 100644 --- a/classes/srcrev-update.bbclass +++ b/classes/srcrev-update.bbclass @@ -16,6 +16,7 @@ python do_srcrev_update() { if len(scms) == 0: return + d.setVar("__BBSEENSRCREV", "1") for scm in scms: ud = urldata[scm] for name in ud.names: -- cgit v1.2.3