report-error.bbclass: add site.conf/toolcfg.conf into error report
PATCH 1/1 report-error.bbclass: add site.conf/toolcfg.conf into error report
We had add local.conf/auto.conf into error report to help more easy to reproduce a failure through error report, recently oe add a new default configuration file toolcfg.conf, this commit also add site.conf and toolcfg.conf in error report.
With this commit, the error report file will have the below snip:
[snip]
"site_conf": "DL_DIR ?= \"/bitbake-setup/bitbake-builds/.bitbake-setup-downloads\"\nSSTATE_DIR ?= \"/bitbake-setup/bitbake-builds/.sstate-cache\"\nBB_HASHSERVE_DB_DIR ?= \"${SSTATE_DIR}\"\n",
"target_sys": "x86_64-poky-linux",
"toolcfg_conf": "OE_FRAGMENTS += \"distro/poky machine/qemux86-64\"\n"[snip]
[YOCTO #13252]
Signed-off-by Changqing Li <[email protected]>
--- meta/classes/report-error.bbclass | 2 ++ 1 file changed, 2 insertions(+)
meta/classes/report-error.bbclass +2 -0
@@ -48,6 +48,8 @@ def get_common_data(e): 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') + data['site_conf'] = get_conf_data(e, 'site.conf') + data['toolcfg_conf'] = get_conf_data(e, 'toolcfg.conf') return data python errorreport_handler () {
Signature · 1 line
2.34.1