summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-18 10:53:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-18 11:37:34 +0000
commiteb72e3c3815bf402d2c993ef7692bee27e775372 (patch)
tree005a193265944af26b8ceba9cd65f47a0201e695 /meta/lib/oe
parent019bf409d95f862aa6334898f15c1c1c42fbbfba (diff)
downloadpoky-eb72e3c3815bf402d2c993ef7692bee27e775372.tar.gz
recipeutils: Add missing get_srcrev() call
Updates within bitbake now require this call to be triggered somewhere with floating git source revs. Add the missing call. Issue can be reproduced with: devtool check-upgrade-status dbus-wait (From OE-Core rev: d7088b2b5012f9e386914a6837685f5869379cc5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/recipeutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py
index a0c6974f04..872ff97b89 100644
--- a/meta/lib/oe/recipeutils.py
+++ b/meta/lib/oe/recipeutils.py
@@ -1029,6 +1029,7 @@ def get_recipe_upstream_version(rd):
1029 else: 1029 else:
1030 ud = bb.fetch2.FetchData(src_uri, rd) 1030 ud = bb.fetch2.FetchData(src_uri, rd)
1031 if rd.getVar("UPSTREAM_CHECK_COMMITS") == "1": 1031 if rd.getVar("UPSTREAM_CHECK_COMMITS") == "1":
1032 bb.fetch2.get_srcrev(rd)
1032 revision = ud.method.latest_revision(ud, rd, 'default') 1033 revision = ud.method.latest_revision(ud, rd, 'default')
1033 upversion = pv 1034 upversion = pv
1034 if revision != rd.getVar("SRCREV"): 1035 if revision != rd.getVar("SRCREV"):