Signed-off-by: Armin Kuster <akuster...@gmail.com> --- scripts/upload-error-report | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 scripts/upload-error-report
diff --git a/scripts/upload-error-report b/scripts/upload-error-report new file mode 100755 index 0000000..56bd24e --- /dev/null +++ b/scripts/upload-error-report @@ -0,0 +1,26 @@ +#!/bin/bash + +ERR_REPORT_USERNAME=$1 +ERR_REPORT_EMAIL=$2 +BUILDDIR=$3 + +shift +shift +shift + +if [ ! -e $BUILDDIR ]; then + exit 0 +fi + +cd $BUILDDIR/../poky + +if [ -d $BUILDDIR/tmp/log/error-report/ ]; then + echo "$ERR_REPORT_USERNAME" > ~/.oe-send-error + echo "$ERR_REPORT_EMAIL" >> ~/.oe-send-error + + . ./oe-init-build-env $BUILDDIR + + for x in `ls $BUILDDIR/tmp/log/error-report/ | grep error_report_`; do + send-error-report -y tmp/log/error-report/$x + done +fi -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50405): https://lists.yoctoproject.org/g/yocto/message/50405 Mute This Topic: https://lists.yoctoproject.org/mt/76488548/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-