mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 17:02:22 +02:00
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>
This commit is contained in:
@@ -1029,6 +1029,7 @@ def get_recipe_upstream_version(rd):
|
||||
else:
|
||||
ud = bb.fetch2.FetchData(src_uri, rd)
|
||||
if rd.getVar("UPSTREAM_CHECK_COMMITS") == "1":
|
||||
bb.fetch2.get_srcrev(rd)
|
||||
revision = ud.method.latest_revision(ud, rd, 'default')
|
||||
upversion = pv
|
||||
if revision != rd.getVar("SRCREV"):
|
||||
|
||||
Reference in New Issue
Block a user