Message ID | 20231116165250.2863415-1-richard.purdie@linuxfoundation.org |
---|---|
State | Accepted, archived |
Commit | 4719b68bb9e3cccb85aed55350e53a439360abcb |
Headers | show |
Series | [1/2] bitbake.conf: Log events by default using BB_DEFAULT_EVENTLOG | expand |
For some reason, this is the cause of: https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/6065/steps/14/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/6062/steps/15/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/6013/steps/14/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6078/steps/14/logs/stdio On 16/11/2023 16:52:49+0000, Richard Purdie wrote: > 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 | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf > index 67ff7690463..12292714d2f 100644 > --- a/meta/conf/bitbake.conf > +++ b/meta/conf/bitbake.conf > @@ -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" > -- > 2.39.2 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#190806): https://lists.openembedded.org/g/openembedded-core/message/190806 > Mute This Topic: https://lists.openembedded.org/mt/102630313/3617179 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 67ff7690463..12292714d2f 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -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"
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 | 1 + 1 file changed, 1 insertion(+)