[pkg-nvidia-devel] r819 - in /packages/nvidia-graphics-drivers/trunk: debian/changelog debian/control debian/nvidia-glx.bug-script debian/nvidia-glx.dirs debian/rules script

rra at users.alioth.debian.org rra at users.alioth.debian.org
Sun Apr 25 04:08:56 UTC 2010


Author: rra
Date: Sun Apr 25 04:08:54 2010
New Revision: 819

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=819
Log:
Improve nvidia-glx bug reporting script

[ Andreas Beckmann ]
* debian/nvidia-glx.bug-script: new bug script that reports a bit of useful
  version and hardware information
* debian/control: bump debhelper B-D to (>= 7.2.3~) for dh_bugfiles
* debian/rules: use dh_bugfiles to install bug script

Added:
    packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.bug-script
Removed:
    packages/nvidia-graphics-drivers/trunk/script
Modified:
    packages/nvidia-graphics-drivers/trunk/debian/changelog
    packages/nvidia-graphics-drivers/trunk/debian/control
    packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.dirs
    packages/nvidia-graphics-drivers/trunk/debian/rules

Modified: packages/nvidia-graphics-drivers/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/changelog?rev=819&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/changelog (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/changelog Sun Apr 25 04:08:54 2010
@@ -29,6 +29,10 @@
     - debian/nvidia-glx.default: remove, no longer needed
     - nvidia-glx.postinst: remove /etc/default/nvidia-glx on upgrades
     - stop shipping /usr/lib/nvidia/tls_test*
+  * debian/nvidia-glx.bug-script: new bug script that reports a bit of useful
+    version and hardware information
+  * debian/control: bump debhelper B-D to (>= 7.2.3~) for dh_bugfiles
+  * debian/rules: use dh_bugfiles to install bug script
 
  -- Russ Allbery <rra at debian.org>  Sat, 24 Apr 2010 20:35:20 -0700
 

Modified: packages/nvidia-graphics-drivers/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/control?rev=819&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/control (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/control Sun Apr 25 04:08:54 2010
@@ -6,7 +6,7 @@
  Andres Mejia <mcitadel at gmail.com>, Russ Allbery <rra at debian.org>
 Vcs-Svn: svn://svn.debian.org/svn/pkg-nvidia/packages/nvidia-graphics-drivers
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers
-Build-Depends: debhelper (>= 7), libxext6, bzip2,
+Build-Depends: debhelper (>= 7.2.3~), libxext6, bzip2,
  libc6-dev-i386 [amd64], lib32gcc1 [amd64], lib32z1 [amd64],
  ia32-libs (>= 20090804) [amd64]
 Standards-Version: 3.8.4

Added: packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.bug-script
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.bug-script?rev=819&op=file
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.bug-script (added)
+++ packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.bug-script Sun Apr 25 04:08:54 2010
@@ -1,0 +1,26 @@
+#!/bin/sh
+
+PATH=/sbin:$PATH
+
+cat << EOF >&3
+uname -a:
+`uname -a`
+
+/proc/version:
+`cat /proc/version`
+
+EOF
+
+test ! -e /proc/driver/nvidia/version || cat << EOF >&3
+/proc/driver/nvidia/version: 
+`cat /proc/driver/nvidia/version`
+
+EOF
+
+if (lspci --version) > /dev/null 2>&1; then
+  	echo "lspci 'VGA compatible controller [0300]':" >&3
+	for device in `lspci -mn | awk '{ if ($2 == "\"0300\"") { print $1 } }'`; do
+		LC_ALL=C lspci -vvnn -s $device >&3
+	done
+fi
+

Modified: packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.dirs
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.dirs?rev=819&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.dirs (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/nvidia-glx.dirs Sun Apr 25 04:08:54 2010
@@ -5,7 +5,6 @@
 usr/lib/xorg/modules/extensions
 usr/lib/tls
 usr/lib/nvidia
-usr/share/bug/nvidia-glx
 etc
 etc/default
 etc/init.d

Modified: packages/nvidia-graphics-drivers/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/rules?rev=819&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Sun Apr 25 04:08:54 2010
@@ -251,11 +251,9 @@
 	#install -m 755 $(dirname)/usr/bin/nvidia-settings $(CURDIR)/debian/nvidia-settings/usr/bin/
 	#install -m 644 $(dirname)/usr/share/doc/nvidia-settings-user-guide.txt $(CURDIR)/debian/nvidia-settings/usr/share/doc/nvidia-settings
 
-
-	install $(CURDIR)/script $(CURDIR)/debian/nvidia-glx/usr/share/bug/nvidia-glx
-
 	dh_install -s
 	dh_lintian
+	dh_bugfiles
 
 
 # Must not depend on anything. This is to be called by




More information about the Pkg-nvidia-devel mailing list