[Pkg-fglrx-devel] r334 - in fglrx-driver/trunk/debian: . reportbug

Patrick Matthäi pmatthaei at alioth.debian.org
Sun Nov 15 11:35:54 UTC 2009


Author: pmatthaei
Date: 2009-11-15 11:35:54 +0000 (Sun, 15 Nov 2009)
New Revision: 334

Added:
   fglrx-driver/trunk/debian/fglrx-glx.install
   fglrx-driver/trunk/debian/reportbug/
   fglrx-driver/trunk/debian/reportbug/script
Modified:
   fglrx-driver/trunk/debian/changelog
   fglrx-driver/trunk/debian/fglrx-atieventsd.install
   fglrx-driver/trunk/debian/fglrx-control.install
   fglrx-driver/trunk/debian/fglrx-driver.install
   fglrx-driver/trunk/debian/fglrx-glx-ia32.install
   fglrx-driver/trunk/debian/fglrx-modules-dkms.install
   fglrx-driver/trunk/debian/fglrx-source.install
Log:
* Add a script for reportbug to every package, se we get the most significant
  informations in our reports.


Modified: fglrx-driver/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog	2009-11-13 12:34:43 UTC (rev 333)
+++ fglrx-driver/trunk/debian/changelog	2009-11-15 11:35:54 UTC (rev 334)
@@ -4,8 +4,10 @@
     Closes: #554470
   * Convert package to quilt and the 3.0 (quilt) format.
   * Generate now tar.bz2 compressed tarballs.
+  * Add a script for reportbug to every package, se we get the most significant
+    informations in our reports.
 
- -- Patrick Matthäi <pmatthaei at debian.org>  Fri, 13 Nov 2009 13:33:57 +0100
+ -- Patrick Matthäi <pmatthaei at debian.org>  Sun, 15 Nov 2009 12:34:56 +0100
 
 fglrx-driver (1:9-10-2) unstable; urgency=low
 

Modified: fglrx-driver/trunk/debian/fglrx-atieventsd.install
===================================================================
--- fglrx-driver/trunk/debian/fglrx-atieventsd.install	2009-11-13 12:34:43 UTC (rev 333)
+++ fglrx-driver/trunk/debian/fglrx-atieventsd.install	2009-11-15 11:35:54 UTC (rev 334)
@@ -1 +1,2 @@
 common/etc/ati/authatieventsd.sh etc/ati/
+debian/reportbug/script usr/share/bug/fglrx-atieventsd/

Modified: fglrx-driver/trunk/debian/fglrx-control.install
===================================================================
--- fglrx-driver/trunk/debian/fglrx-control.install	2009-11-13 12:34:43 UTC (rev 333)
+++ fglrx-driver/trunk/debian/fglrx-control.install	2009-11-15 11:35:54 UTC (rev 334)
@@ -1,3 +1,4 @@
 debian/amdcccle.desktop usr/share/applications/
 common/usr/share/icons/* usr/share/icons/
 debian/amdcccle.xpm usr/share/pixmaps/
+debian/reportbug/script usr/share/bug/fglrx-control/

Modified: fglrx-driver/trunk/debian/fglrx-driver.install
===================================================================
--- fglrx-driver/trunk/debian/fglrx-driver.install	2009-11-13 12:34:43 UTC (rev 333)
+++ fglrx-driver/trunk/debian/fglrx-driver.install	2009-11-15 11:35:54 UTC (rev 334)
@@ -4,3 +4,4 @@
 common/etc/ati/amdpcsdb.default etc/ati/
 debian/acpi/*.sh etc/acpi/
 debian/acpi/events/fglrx-* etc/acpi/events/
+debian/reportbug/script usr/share/bug/fglrx-driver/

Modified: fglrx-driver/trunk/debian/fglrx-glx-ia32.install
===================================================================
--- fglrx-driver/trunk/debian/fglrx-glx-ia32.install	2009-11-13 12:34:43 UTC (rev 333)
+++ fglrx-driver/trunk/debian/fglrx-glx-ia32.install	2009-11-15 11:35:54 UTC (rev 334)
@@ -1,2 +1,3 @@
 arch/x86/usr/X11R6/lib/libGL* usr/lib32/
 arch/x86/usr/X11R6/lib/modules/dri/* usr/lib32/dri/
+debian/reportbug/script usr/share/bug/fglrx-glx-ia32/

Added: fglrx-driver/trunk/debian/fglrx-glx.install
===================================================================
--- fglrx-driver/trunk/debian/fglrx-glx.install	                        (rev 0)
+++ fglrx-driver/trunk/debian/fglrx-glx.install	2009-11-15 11:35:54 UTC (rev 334)
@@ -0,0 +1 @@
+debian/reportbug/script usr/share/bug/fglrx-glx/

Modified: fglrx-driver/trunk/debian/fglrx-modules-dkms.install
===================================================================
--- fglrx-driver/trunk/debian/fglrx-modules-dkms.install	2009-11-13 12:34:43 UTC (rev 333)
+++ fglrx-driver/trunk/debian/fglrx-modules-dkms.install	2009-11-15 11:35:54 UTC (rev 334)
@@ -2,3 +2,4 @@
 common/lib/modules/fglrx/build_mod/*.h usr/src/fglrx-VERSION/
 common/lib/modules/fglrx/build_mod/*.sh usr/src/fglrx-VERSION/
 common/lib/modules/fglrx/build_mod/2.6.x/Makefile usr/src/fglrx-VERSION/2.6.x/
+debian/reportbug/script usr/share/bug/fglrx-modules-dkms/

Modified: fglrx-driver/trunk/debian/fglrx-source.install
===================================================================
--- fglrx-driver/trunk/debian/fglrx-source.install	2009-11-13 12:34:43 UTC (rev 333)
+++ fglrx-driver/trunk/debian/fglrx-source.install	2009-11-15 11:35:54 UTC (rev 334)
@@ -6,3 +6,4 @@
 debian/copyright usr/src/modules/fglrx/debian/
 debian/compat usr/src/modules/fglrx/debian/
 debian/module/* usr/src/modules/fglrx/debian/
+debian/reportbug/script usr/share/bug/fglrx-source/

Added: fglrx-driver/trunk/debian/reportbug/script
===================================================================
--- fglrx-driver/trunk/debian/reportbug/script	                        (rev 0)
+++ fglrx-driver/trunk/debian/reportbug/script	2009-11-15 11:35:54 UTC (rev 334)
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+# $Id$
+
+PATH="/sbin:$PATH"
+CONFIG_DIR=/etc/X11
+XORGCONFIG="$CONFIG_DIR/xorg.conf"
+CONFIG_AUX_DIR=/var/lib/x11
+
+exec >&3
+
+if which lspci > /dev/null 2>&1; then
+    printf "VGA-compatible devices on PCI bus:\n"
+    LC_ALL=C lspci | grep 'VGA compatible controller:'
+    LC_ALL=C lspci -n | grep 'Class 0300:'
+else
+    printf "The lspci command was not found; not including PCI data.\n"
+fi
+
+printf "\n"
+
+if [ -x /bin/dmesg ]; then
+	printf "DRM and fglrx Informations from dmesg:\n"
+	dmesg | egrep -i 'drm|agp|fglrx'
+fi
+
+
+printf "\n"
+
+if [ -e "$XORGCONFIG" ]; then
+    printf "Xorg X server configuration file status:\n"
+    ls -dl "$XORGCONFIG"
+    printf "\n"
+    printf "Contents of $XORGCONFIG:\n"
+    iconv -c -t ascii "$XORGCONFIG"
+    printf "\n"
+else
+    printf "$XORGCONFIG does not exist.\n"
+fi
+
+printf "\n"
+
+XORG_LOGS=$(ls -dt /var/log/Xorg.*.log 2>/dev/null)
+
+if [ -n "$XORG_LOGS" ]; then
+    printf "Xorg X server log files on system:\n"
+    ls -dlrt /var/log/Xorg.*.log 2>/dev/null
+    printf "\n"
+    for LOG in $XORG_LOGS; do
+        if [ -f "$LOG" ]; then
+            printf "Contents of most recent Xorg X server log file\n"
+            printf "%s:\n" "$LOG"
+            cat "$LOG"
+            # the log files are large; only show the most recent
+            break
+        fi
+    done
+else
+    printf "No Xorg X server log files found.\n"
+fi
+
+printf "\n"


Property changes on: fglrx-driver/trunk/debian/reportbug/script
___________________________________________________________________
Added: svn:executable
   + *




More information about the Pkg-fglrx-devel mailing list