]> code.ossystems Code Review - openembedded-core.git/commit
report-error.bbclass: new class to save build information when errors occur
authorAndreea Proca <andreea.b.proca@intel.com>
Fri, 14 Feb 2014 11:58:43 +0000 (13:58 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Feb 2014 12:25:30 +0000 (12:25 +0000)
commitf186b4c7c6c975638e60b30a512d669dc6dc390f
tree2717fc901874505d4d86ee7f2c1c26f019229a9f
parent2ab1a2bccfbb4ed90fe3b877d1be80817ba32099
report-error.bbclass: new class to save build information when errors occur

Class is used to save data about errors after every task that failed.
Errors saved as json files in ERROR_REPORT_DIR (defaults to tmp/log/error-report).
To use this class one has to add INHERIT += "report-error" to local.conf.

scripts/send-error-report is a simple script that sends the json file
to a HTTP server that collects data (git://git.yoctoproject.org/error-report-web
is a Django web interface that can be used to receive and visualize
the error reports). The script will give you an URL where you can
find your report.

Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/report-error.bbclass [new file with mode: 0644]
scripts/send-error-report [new file with mode: 0755]