summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/main.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-09 15:56:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-17 08:52:28 +0000
commit2946c56b233370ac4b151558079f2fc676157bad (patch)
tree231e573d1a8a9edd3327c3ea8c533f28df8234b9 /bitbake/lib/bb/main.py
parent4754b1021ebdc8272b324bb8f2ffff03c8719233 (diff)
downloadpoky-2946c56b233370ac4b151558079f2fc676157bad.tar.gz
bitbake: bitbake: siggen/runqueue: Switch to using RECIPE_SIGGEN_INFO feature for signature dumping
Now that we have cache support for the taskdep/gendep/lookupcache data, we can switch to use that cooker feature and skip the secondary reparse to write the sig files. This does make the initial parse longer but means the secondary one isn't needed. At present parsing with the larger cache isn't optimal but we have plans in place which will make this faster than the current reparse code being removed here. (Bitbake rev: 5951b5b56449855bc2a30146af65eb287a35fcef) (Bitbake rev: 1252e5bce51ae912ecff9dcc354a371786ff2c72) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-xbitbake/lib/bb/main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index f1ea7859da..ed3e1ede61 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -395,6 +395,11 @@ def setup_bitbake(configParams, extrafeatures=None):
395 # In status only mode there are no logs and no UI 395 # In status only mode there are no logs and no UI
396 logger.addHandler(handler) 396 logger.addHandler(handler)
397 397
398 if configParams.dump_signatures:
399 if extrafeatures is None:
400 extrafeatures = []
401 extrafeatures.append(bb.cooker.CookerFeatures.RECIPE_SIGGEN_INFO)
402
398 if configParams.server_only: 403 if configParams.server_only:
399 featureset = [] 404 featureset = []
400 ui_module = None 405 ui_module = None