]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
bitbake.conf: Log events by default using BB_DEFAULT_EVENTLOG
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Nov 2023 17:57:56 +0000 (17:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Nov 2023 12:11:57 +0000 (12:11 +0000)
By setting this, event data from during the build is saved out. This can
be used for analytic including toaster to allow builds to be examined
later. This will use some disk space but it is worth it for the ability
to look into what happened during the build. Users can set the value to
something else in local.conf to override if they wish.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index 5bb007d62c5ea09bfeb0901cfa07979ae9ac371a..983987cf7efca9e78730cfeee04d1af58af1d423 100644 (file)
@@ -934,6 +934,7 @@ BB_DEFAULT_UMASK ??= "022"
 
 # Complete output from bitbake
 BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"
+BB_DEFAULT_EVENTLOG ?= "${LOG_DIR}/eventlog/${DATETIME}.json"
 
 # Setup our default hash policy
 BB_SIGNATURE_HANDLER ?= "OEBasicHash"