diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2022-03-04 06:12:45 +0000 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-05 10:05:17 +0000 |
commit | 44966f276ae9bfb83ac6f7864a46fabb1cdeb087 (patch) | |
tree | 100127e6aecba219a2d863d9f511b5e1741a5533 /classes | |
parent | a476f413c6f1ba9e5e320d680f7acdbdc69b03cf (diff) |
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 <mikko.gronoff@qt.io>
(cherry picked from commit 6492c169550c3750fe6c93592b38f182bca2c609)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/srcrev-update.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
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: |