Reword failure message in 05_boot_failure_message_grml.dpatch
authorMichael Prokop <mika@grml.org>
Sat, 20 Feb 2010 15:12:38 +0000 (16:12 +0100)
committerMichael Prokop <mika@grml.org>
Sat, 20 Feb 2010 16:19:20 +0000 (17:19 +0100)
debian/patches/05_boot_failure_message_grml.dpatch

index 3ba17c0..b9b4437 100755 (executable)
@@ -5,22 +5,22 @@
 ## DP: Copy /etc/grml_version to initrd
 
 @DPATCH@
-
---- a/scripts/live-functions
-+++ b/scripts/live-functions
-@@ -90,11 +90,16 @@ panic() {
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' live-initramfs-grml~/scripts/live-functions live-initramfs-grml/scripts/live-functions
+--- live-initramfs-grml~/scripts/live-functions        2010-02-20 16:23:34.000000000 +0100
++++ live-initramfs-grml/scripts/live-functions 2010-02-20 16:24:23.915257283 +0100
+@@ -90,14 +90,19 @@
        printf "     ${DEB_1}\n"
        printf "     ${DEB_2}  \033[1;37mBOOT FAILED!\033[0m\n"
        printf "     ${DEB_3}\n"
 -      printf "     ${DEB_4}  This Debian Live image failed to boot.\n\n"
-+      printf "     ${DEB_4}  This Grml image failed to boot.\n\n"
++      printf "     ${DEB_4}  This image failed to boot.\n\n"
  
 -      printf "  Please file a bug against the 'live-initramfs' package or email the Debian\n"
 -      printf "  Live mailing list at <debian-live@lists.debian.org>, making sure to note the\n"
 -      printf "  exact version, name and distribution of the image you were attempting to boot.\n\n"
-+      printf "  Please file a bug at http://grml.org/bugs/ or http://bts.grml.org/, making\n"
-+      printf "  sure to note the exact version, name and distribution of the image you were\n"
-+      printf "  attempting to boot.\n\n"
++      printf "  Please file a bug at your distributors bug tracking system, making\n"
++      printf "  sure to note the exact version, name and distribution of the image\n"
++      printf "  you were attempting to boot.\n\n"
 +
 +      if [ -r /etc/grml_version ] ; then
 +         GRML_VERSION="$(cat /etc/grml_version)"
@@ -28,4 +28,8 @@
 +      fi
  
        printf "  The file ${LIVELOG} contains some debugging information but booting with the\n"
-       printf "  ${DEBUG} command-line parameter will greatly increase its verbosity which is\n"
+-      printf "  ${DEBUG} command-line parameter will greatly increase its verbosity which is\n"
++      printf "  ${DEBUG}=1 command-line parameter will greatly increase its verbosity which is\n"
+       printf "  extremely useful when diagnosing issues.\n\n"
+       if [ -n "${panic}" ]; then