Hi All,

This is a Gentle Reminder to review this Patch.

-----------------------
Thanks & Regards,
*Milan Shah*
MontaVista Software, Bangalore, India


On Wed, Jan 6, 2021 at 7:09 PM Milan Shah <[email protected]> wrote:

> Instead of just providing local.conf info, add layer names and their
> revisions with bitbake version information into error report
> makes it easier to understand and reproduce failed build.
>
> [YOCTO #9700]
>
> Signed-off-by: Milan Shah <[email protected]>
> ---
>  meta/classes/report-error.bbclass | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta/classes/report-error.bbclass
> b/meta/classes/report-error.bbclass
> index 1a12db1..9cb6b0b 100644
> --- a/meta/classes/report-error.bbclass
> +++ b/meta/classes/report-error.bbclass
> @@ -6,6 +6,8 @@
>  #
>  # Licensed under the MIT license, see COPYING.MIT for details
>
> +inherit base
> +
>  ERR_REPORT_DIR ?= "${LOG_DIR}/error-report"
>
>  def errorreport_getdata(e):
> @@ -64,6 +66,8 @@ python errorreport_handler () {
>              data['failures'] = []
>              data['component'] = " ".join(e.getPkgs())
>              data['branch_commit'] = str(base_detect_branch(e.data)) + ":
> " + str(base_detect_revision(e.data))
> +            data['bitbake_version'] = e.data.getVar("BB_VERSION")
> +            data['layer_version'] = get_layers_branch_rev(e.data)
>              data['local_conf'] = get_conf_data(e, 'local.conf')
>              data['auto_conf'] = get_conf_data(e, 'auto.conf')
>              lock = bb.utils.lockfile(datafile + '.lock')
> --
> 2.7.4
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51965): https://lists.yoctoproject.org/g/yocto/message/51965
Mute This Topic: https://lists.yoctoproject.org/mt/79474306/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to