[kernel] r15161 - in dists/trunk/linux-2.6/debian: . templates/image.plain.bug

Ben Hutchings benh at alioth.debian.org
Tue Feb 16 02:42:08 UTC 2010


Author: benh
Date: Tue Feb 16 02:42:05 2010
New Revision: 15161

Log:
Ignore failure of lsusb when gathering information for bug reports (Closes: #569725)

Modified:
   dists/trunk/linux-2.6/debian/changelog
   dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-usb

Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog	Tue Feb 16 01:56:43 2010	(r15160)
+++ dists/trunk/linux-2.6/debian/changelog	Tue Feb 16 02:42:05 2010	(r15161)
@@ -3,6 +3,8 @@
   [ Ben Hutchings ]
   * Do not build obsolete lgs8gl5 driver
   * [x86] Enable USB IP drivers (Closes: #568903)
+  * Ignore failure of lsusb when gathering information for bug reports
+    (Closes: #569725)
 
   [ maximilian attems]
   * Postinst don't refercence k-p related manpage. (Closes: #542208)

Modified: dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-usb
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-usb	Tue Feb 16 01:56:43 2010	(r15160)
+++ dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-usb	Tue Feb 16 02:42:05 2010	(r15161)
@@ -1,10 +1,6 @@
 add_usb() {
   echo '** USB devices:' >&3
-  if command -v lsusb >/dev/null; then
-    lsusb >&3
-  else
-    echo 'not available' >&3
-  fi
+  lsusb >&3 2>/dev/null || echo 'not available' >&3
   echo >&3
 }
 



More information about the Kernel-svn-changes mailing list