diff mbox series

[bitbake-devel,1/2] build: log the lockfiles in use with debug

Message ID 20221111185849.2458457-1-jose.quaresma@foundries.io
State New
Headers show
Series [bitbake-devel,1/2] build: log the lockfiles in use with debug | expand

Commit Message

Jose Quaresma Nov. 11, 2022, 6:58 p.m. UTC
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---
 lib/bb/build.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/bb/build.py b/lib/bb/build.py
index b8c1099e..ae781c8c 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -217,7 +217,9 @@  def exec_func(func, d, dirs = None):
 
     lockflag = flags.get('lockfiles')
     if lockflag:
-        lockfiles = [f for f in d.expand(lockflag).split()]
+        expandlockfiles = d.expand(lockflag)
+        bb.debug(2, "Task lock files: %s" % expandlockfiles)
+        lockfiles = [f for f in expandlockfiles.split()]
     else:
         lockfiles = None