From 9b98e8aa99abefcabddced9e3fd39838eb82ef92 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Tue, 22 Nov 2022 12:55:59 +0100 Subject: [PATCH] WIP print lockfiles before downloads Signed-off-by: Quentin Schulz --- bitbake/lib/bb/fetch2/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index a31406263f..5f46057ef7 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -1015,7 +1015,10 @@ def try_mirror_url(fetch, origud, ud, ld, check = False): # Return of None or a value means we're finished # False means try another url + bb.warn("try_mirror_url: ud.lockfile=" + str(ud.lockfile) + "\t origud.lockfile=" + str(origud.lockfile)) + bb.warn(ud.lockfile) if ud.lockfile and ud.lockfile != origud.lockfile: + bb.warn("try_mirror_url: locking file " + ud.lockfile) lf = bb.utils.lockfile(ud.lockfile) try: @@ -1724,7 +1727,9 @@ class Fetch(object): m = ud.method done = False + bb.warn("download: " + u + ": trying to lock file " + str(ud.lockfile)) if ud.lockfile: + bb.warn("download: " + u + ": locking file " + str(ud.lockfile)) lf = bb.utils.lockfile(ud.lockfile) try: -- 2.38.1