summaryrefslogtreecommitdiff
path: root/tools/intel_gpu_abrt
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@gmail.com>2012-12-13 14:11:24 -0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-13 18:15:38 +0100
commitc0a74d8d505b00ff823ce2ad47b0fc2f7d0cebb7 (patch)
tree50784410a17c221de0fe01541e77b873c13dd21b /tools/intel_gpu_abrt
parent3ab148331a37ace6eb73d17bd3803602eabd7c17 (diff)
tools: intel_gpu_abrt bug report template.
checking if file has been generated and output a template for a good bug report
Diffstat (limited to 'tools/intel_gpu_abrt')
-rwxr-xr-xtools/intel_gpu_abrt32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/intel_gpu_abrt b/tools/intel_gpu_abrt
index 9ca58c0e..4fbff768 100755
--- a/tools/intel_gpu_abrt
+++ b/tools/intel_gpu_abrt
@@ -67,4 +67,36 @@ echo 0 > /sys/devices/pci0000:00/0000:00:02.0/rom
rm $tmpdir -Rf
+if [ -f intel_gpu_abrt.tar ] ; then
+ cat <<EOF
+intel_gpu_abrt.tar has been created.
+
+Please attach it to https://bugs.freedesktop.org
+with a good bug description as suggested in this template:
+
+System environment:
+-- chipset:
+-- system architecture: `uname -m`
+-- xf86-video-intel:
+-- xserver: `grep "X.Org X Server" /var/log/Xorg.0.log | awk '{print $NF}'`
+-- mesa:
+-- libdrm: `pkg-config --modversion libdrm`
+-- kernel: `uname -r`
+-- Linux distribution:
+-- Machine or mobo model:
+-- Display connector:
+
+Reproducing steps:
+
+Additional info:
+
+EOF
exit 0
+else
+cat <<EOF
+Error on tarball generation.
+For bug report, please follow manual instructions available at:
+https://01.org/linuxgraphics/documentation/how-report-bugs-0
+EOF
+exit 1
+fi