summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-29 16:03:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-30 13:05:03 +0100
commitf6cdd19553e794b2036f592d4f240a11444530b5 (patch)
tree8f18ace60c99febd8a15fec6d0047e417e5867a2 /bitbake
parent4a5a2e67a841cf0c5d798c7b7b798e0a1f1d0944 (diff)
downloadpoky-f6cdd19553e794b2036f592d4f240a11444530b5.tar.gz
bitbake: 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' (Bitbake rev: 16ea4429344e36ff022616abd7fa74e5964b6d6a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 65b7fc000d..af60c3d8f5 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -582,7 +582,7 @@ def _exec_task(fn, task, d, quieterr):
582 running it with its own local metadata, and with some useful variables set. 582 running it with its own local metadata, and with some useful variables set.
583 """ 583 """
584 if not d.getVarFlag(task, 'task', False): 584 if not d.getVarFlag(task, 'task', False):
585 event.fire(TaskInvalid(task, d), d) 585 event.fire(TaskInvalid(task, fn, d), d)
586 logger.error("No such task: %s" % task) 586 logger.error("No such task: %s" % task)
587 return 1 587 return 1
588 588