diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-09-03 13:55:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-04 08:44:11 +0100 |
commit | ed8930e9a771993b74b066d6f028744f2d675072 (patch) | |
tree | ec743235737c5550e54e144be187faccfca3d7fe /meta | |
parent | 2d30e89a15ddaa22405a31ce4e312a7b6236b798 (diff) | |
download | poky-ed8930e9a771993b74b066d6f028744f2d675072.tar.gz |
default-distrovars.inc: Set BBINCLUDELOGS to empty to disable printing failed task output multiple times
* the output is shown 3 times with default configuration and 5 times when --verbose
is being used with knotty, there might be other use-cases where we actually need
this, but until the logging is resolved better, setting this to empty looks like
more reasonable option (considering that e.g. log.do_compile from chromium-x11
can be over 50MB long, generating 150MB+ cooker log)
* more details in:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14542
(From OE-Core rev: ede2e0df7982777212b8c25195d41ce9e57562b5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/default-distrovars.inc | 6 | ||||
-rw-r--r-- | meta/conf/documentation.conf | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index f91df632d5..5035508b98 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc | |||
@@ -33,8 +33,10 @@ BB_GENERATE_MIRROR_TARBALLS ??= "0" | |||
33 | 33 | ||
34 | NO32LIBS ??= "1" | 34 | NO32LIBS ??= "1" |
35 | 35 | ||
36 | # Default to emitting logfiles if a build fails. | 36 | # Default logger already emits logfiles if a build fails, setting this to any non-empty value would just include more copies (prefixed with "|") in the output |
37 | BBINCLUDELOGS ??= "yes" | 37 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14542 |
38 | BBINCLUDELOGS ??= "" | ||
39 | |||
38 | SDK_VERSION ??= "nodistro.0" | 40 | SDK_VERSION ??= "nodistro.0" |
39 | DISTRO_VERSION ??= "nodistro.0" | 41 | DISTRO_VERSION ??= "nodistro.0" |
40 | 42 | ||
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index c5a38b0764..f4697e28d0 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf | |||
@@ -88,7 +88,7 @@ BBFILE_COLLECTIONS[doc] = "Lists the names of configured layers. These names are | |||
88 | BBFILE_PATTERN[doc] = "Variable that expands to match files from BBFILES in a particular layer. This variable is used in the layer.conf file and must be suffixed with the name of a layer." | 88 | BBFILE_PATTERN[doc] = "Variable that expands to match files from BBFILES in a particular layer. This variable is used in the layer.conf file and must be suffixed with the name of a layer." |
89 | BBFILE_PRIORITY[doc] = "Assigns the priority for recipe files in each layer. Setting this variable allows you to prioritize a layer against other layers that contain the same recipe." | 89 | BBFILE_PRIORITY[doc] = "Assigns the priority for recipe files in each layer. Setting this variable allows you to prioritize a layer against other layers that contain the same recipe." |
90 | BBFILES[doc] = "List of recipe files used by BitBake to build software." | 90 | BBFILES[doc] = "List of recipe files used by BitBake to build software." |
91 | BBINCLUDELOGS[doc] = "Variable that controls how BitBake displays logs on build failure." | 91 | BBINCLUDELOGS[doc] = "Variable that controls how BitBake displays logs on build failure. Set to empty if you don't want to have 2nd copy of failed task output (prefixed with '|') in the cooker log." |
92 | BBINCLUDELOGS_LINES[doc] = "Amount of log lines printed on failure." | 92 | BBINCLUDELOGS_LINES[doc] = "Amount of log lines printed on failure." |
93 | BBLAYERS[doc] = "Lists the layers to enable during the build. This variable is defined in the bblayers.conf configuration file." | 93 | BBLAYERS[doc] = "Lists the layers to enable during the build. This variable is defined in the bblayers.conf configuration file." |
94 | BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files." | 94 | BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files." |