mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-04 15:44:06 +08:00
915f2919f6
It fills the serial log with unimportant messages. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7347>
15 lines
321 B
Bash
Executable File
15 lines
321 B
Bash
Executable File
#!/bin/sh
|
|
|
|
while true; do
|
|
devcds=`find /sys/devices/virtual/devcoredump/ -name data 2>/dev/null`
|
|
for i in $devcds; do
|
|
echo "Found a devcoredump at $i."
|
|
if cp $i /results/first.devcore; then
|
|
echo 1 > $i
|
|
echo "Saved to the job artifacts at /first.devcore"
|
|
exit 0
|
|
fi
|
|
done
|
|
sleep 10
|
|
done
|