build: Add missing parameter to TaskInvalid
PATCH 1/1 build: Add missing parameter to TaskInvalid
Fixes:
File "bitbake/lib/bb/build.py", line 585, in _exec_task
event.fire(TaskInvalid(task, d), d)
TypeError: __init__() missing 1 required positional argument: 'metadata'
Signed-off-by Richard Purdie <[email protected]>
--- lib/bb/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/build.py +1 -1
@@ -582,7 +582,7 @@ def _exec_task(fn, task, d, quieterr): running it with its own local metadata, and with some useful variables set. """ if not d.getVarFlag(task, 'task', False): - event.fire(TaskInvalid(task, d), d) + event.fire(TaskInvalid(task, fn, d), d) logger.error("No such task: %s" % task) return 1
Signature · 1 line
2.32.0