[beignet] 12/13: Improve reportbug script

Rebecca Palmer rnpalmer-guest at moszumanska.debian.org
Mon Apr 25 21:55:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

rnpalmer-guest pushed a commit to branch master
in repository beignet.

commit d3f161cdab82309906b59d9a94c8b458d6fefcc3
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date:   Mon Apr 25 22:30:51 2016 +0100

    Improve reportbug script
---
 debian/beignet-opencl-icd.bug-script | 5 ++++-
 debian/changelog                     | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/beignet-opencl-icd.bug-script b/debian/beignet-opencl-icd.bug-script
index 9fc8b21..6c83214 100644
--- a/debian/beignet-opencl-icd.bug-script
+++ b/debian/beignet-opencl-icd.bug-script
@@ -3,6 +3,8 @@
 echo "Graphics hardware:" >&3
 xrandr --listproviders >&3
 glxinfo | grep " vendor\| renderer" >&3
+#supported processors have PCI ID [8086:nnnn] where nnnn is in src/cl_device_data.h
+lspci -nn | grep -e "\[03..\]:" >&3
 echo >&3
 echo "Processor:" >&3
 #this gives more detailed information than the above, but can't tell whether the GPU is enabled
@@ -10,6 +12,7 @@ lscpu >&3
 echo >&3
 echo "OpenCL library:" >&3
 #libopencl1: could use a reportbug control file for this, but this way avoids needing to update it with new packages
-dpkg -l *libopencl* >&3
+dpkg-query -W -f='${db:Status-Abbrev}\t${binary:Package}\t${Version}\n' *libopencl* >&3
 #ICDs: also catch any installed outside the package system, e.g. Intel SDK for CPUs
+dpkg-query -W -f='${db:Status-Abbrev}\t${binary:Package}\t${Version}\n' *opencl-icd* >&3
 head /etc/OpenCL/vendors/* >&3
diff --git a/debian/changelog b/debian/changelog
index 6037c46..590d6a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ beignet (1.1.2-1) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.8 (no changes needed).
   * Enable bindnow hardening.
   * Update and sort d/copyright.
+  * Improve reportbug script.
 
  -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Sun, 24 Apr 2016 15:31:25 +0100
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git



More information about the Pkg-opencl-commits mailing list