From: Chris Laplante <[email protected]> BitBake is renaming bb.fetch2 => bb.fetch.
Pass both bb.fetch.MissingChecksumEvent and bb.fetch2.MissingChecksumEvent to extra_events so things work in the interim. Signed-off-by: Chris Laplante <[email protected]> --- scripts/lib/scriptutils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/lib/scriptutils.py b/scripts/lib/scriptutils.py index 33e197a22c..654ca90227 100644 --- a/scripts/lib/scriptutils.py +++ b/scripts/lib/scriptutils.py @@ -211,7 +211,9 @@ def fetch_url(tinfoil, srcuri, srcrev, destdir, logger, preserve_tmp=False, mirr res = tinfoil.build_targets(fetchrecipepn, 'do_unpack', handle_events=True, - extra_events=['bb.fetch2.MissingChecksumEvent'], + # Support BitBake before and after the bb.fetch2 rename. + extra_events=['bb.fetch2.MissingChecksumEvent', + 'bb.fetch.MissingChecksumEvent'], event_callback=eventhandler) if not res: raise FetchUrlFailure(srcuri) -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#244657): https://lists.openembedded.org/g/openembedded-core/message/244657 Mute This Topic: https://lists.openembedded.org/mt/120999093/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
