srcrev_update: use renamed variable

oe-core renamed its internal variable, set both old and new variable
to work with old and new versions of oe-core.

Pick-to: 6.5
Change-Id: I90293c6d37c3ca5d5d82d67e1269afa2b12f1d89
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2023-04-19 09:17:43 +00:00
parent f26b62e29e
commit 44990089fc

View File

@ -17,6 +17,7 @@ python do_srcrev_update() {
return
d.setVar("__BBSEENSRCREV", "1")
d.setVar("__BBSRCREV_SEEN", "1")
for scm in scms:
ud = urldata[scm]
for name in ud.names: