blob: 36d7820b5d6cec18c47a8771406f4de76117b3a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/bash
#
# Copyright Linux Foundation, Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
BUILDDIR=$1
ERRORLINK=$2
#https://autobuilder.yocto.io/builders/nightly-arm/builds/804
# Need to clear parameters ready to source the environment below
shift
shift
if [ ! -e $BUILDDIR ]; then
exit 0
fi
cd $BUILDDIR/../
if [ -d $BUILDDIR/tmp/log/error-report/ ]; then
host=`hostname`
echo "yp-ab-$host" > ~/.oe-send-error
. ./oe-init-build-env
for x in `ls $BUILDDIR/tmp/log/error-report/ | grep error_report_`; do
send-error-report -y -l $ERRORLINK tmp/log/error-report/$x
done
fi
|