Readd scripts/live-bottom/05mountpoints; Improve boot failure splash
[live-initramfs-grml.git] / debian / patches / 05_boot_failure_message_grml.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 07_boot_failure_message_grml.diff.dpatch by  <mika@grml.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Adjust message if booting fails
6
7 @DPATCH@
8
9 --- a/scripts/live-functions    2008-08-16 01:53:16.000000000 +0200
10 +++ b/scripts/live-functions    2008-08-16 10:35:25.000000000 +0200
11 @@ -119,13 +119,17 @@
12         printf "     ${DEB_1}\n"
13         printf "     ${DEB_2}  \033[1;37mBOOT FAILED!\033[0m\n"
14         printf "     ${DEB_3}\n"
15 -       printf "     ${DEB_4}  This Debian Live image failed to boot.\n\n"
16 +       printf "     ${DEB_4}  This grml image failed to boot.\n\n"
17  
18 -       printf "  Please file a bug against the 'live-initramfs' package or email the Debian\n"
19 -       printf "  Live mailing list at <debian-live-devel@lists.alioth.debian.org>, making\n"
20 +       printf "  Please file a bug at http://grml.org/bugs/ or http://bts.grml.org/, making\n"
21         printf "  sure to note the exact version, name and distribution of the image you were\n"
22         printf "  attempting to boot.\n\n"
23  
24 +        if [ -r /etc/grml_version ] ; then
25 +           cat /etc/grml_version
26 +           printf "\n"
27 +        fi
28 +
29         printf "  The file ${LIVELOG} contains some debugging information but booting with the\n"
30         printf "  ${DEBUG} command-line parameter will greatly increase its verbosity which is\n"
31         printf "  extremely useful when diagnosing issues.\n\n"