projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
egl: fix _eglMatchDriver() return type
[mesa.git]
/
.gitlab-ci
/
bare-metal
/
capture-devcoredump.sh
1
#!/bin/sh
2
3
while
true
;
do
4
devcds
=
`find /sys/devices/virtual/devcoredump/ -name data`
5
for
i
in
$devcds
;
do
6
echo
"Found a devcoredump at
$i
."
7
if
cp
$i
/
results
/
first.devcore
;
then
8
echo
1
>
$i
9
echo
"Saved to the job artifacts at /first.devcore"
10
exit
0
11
fi
12
done
13
sleep
10
14
done