c486ec8df827be60efc04b5af0c84ddf9e33b530
[live-boot-grml.git] / debian / patches / 13_always_display_warnings_and_failures.patch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 13_always_display_warnings_and_failures.dpatch by Michael Prokop <mika@grml.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Always display failure and warning messages.
6
7 @DPATCH@
8 Index: live-boot-grml/scripts/boot/9990-initramfs-tools.sh
9 ===================================================================
10 --- live-boot-grml.orig/scripts/boot/9990-initramfs-tools.sh    2012-11-28 08:10:50.815614786 +0100
11 +++ live-boot-grml/scripts/boot/9990-initramfs-tools.sh 2012-11-28 08:25:12.864563943 +0100
12 @@ -2,6 +2,17 @@
13  
14  #set -e
15  
16 +# we definitely want this stuff visible
17 +log_failure_msg()
18 +{
19 +        printf "Failure: $@\n"
20 +}
21 +
22 +log_warning_msg()
23 +{
24 +        printf "Warning: $@\n"
25 +}
26 +
27  log_wait_msg ()
28  {
29         # Print a message and wait for enter