[kernel] r14329 - dists/trunk/linux-2.6/debian/templates/image.plain.bug

Ben Hutchings benh at alioth.debian.org
Sun Oct 4 19:07:24 UTC 2009


Author: benh
Date: Sun Oct  4 19:07:23 2009
New Revision: 14329

Log:
Ask whether bug affects the system used for reporting before including its model and PCI information

Modified:
   dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-model
   dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-pci
   dists/trunk/linux-2.6/debian/templates/image.plain.bug/script

Modified: dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-model
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-model	Sun Oct  4 18:55:39 2009	(r14328)
+++ dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-model	Sun Oct  4 19:07:23 2009	(r14329)
@@ -48,5 +48,5 @@
 ask_model() {
   # This is still valid as long as the bug is being reported on the same
   # system.
-  add_model
+  test $same_system = nop || add_model
 }

Modified: dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-pci
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-pci	Sun Oct  4 18:55:39 2009	(r14328)
+++ dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-pci	Sun Oct  4 19:07:23 2009	(r14329)
@@ -11,6 +11,6 @@
 ask_pci() {
   # This information shouldn't vary much between kernel versions, so
   # include it anyway.
-  add_pci
+  test $same_system = nop || add_pci
 }
 

Modified: dists/trunk/linux-2.6/debian/templates/image.plain.bug/script
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/image.plain.bug/script	Sun Oct  4 18:55:39 2009	(r14328)
+++ dists/trunk/linux-2.6/debian/templates/image.plain.bug/script	Sun Oct  4 19:07:23 2009	(r14329)
@@ -16,6 +16,8 @@
     add_$hook
   done
 else
+  yesno "Does the bug you are reporting affect this computer? " yep
+  same_system=$REPLY
   for hook in ${hooks[@]}; do
     ask_$hook
   done



More information about the Kernel-svn-changes mailing list