New patch: always display warnings and failures on console
authorMichael Prokop <mika@grml.org>
Sat, 20 Feb 2010 15:06:50 +0000 (16:06 +0100)
committerMichael Prokop <mika@grml.org>
Sat, 20 Feb 2010 16:19:20 +0000 (17:19 +0100)
debian/patches/00list
debian/patches/13_always_display_warnings_and_failures.dpatch [new file with mode: 0755]

index 530c098..ebd9143 100644 (file)
@@ -5,3 +5,4 @@
 10_support_ethdevice.dpatch
 11_dhcphostname.patch
 12_uuid_support.dpatch
+13_always_display_warnings_and_failures.dpatch
diff --git a/debian/patches/13_always_display_warnings_and_failures.dpatch b/debian/patches/13_always_display_warnings_and_failures.dpatch
new file mode 100755 (executable)
index 0000000..8a204bc
--- /dev/null
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 13_always_display_warnings_and_failures.dpatch by Michael Prokop <mika@grml.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Always display failure and warning messages.
+
+@DPATCH@
+--- live-initramfs-grml~/scripts/live-functions        2010-02-20 16:03:43.155342432 +0100
++++ live-initramfs-grml/scripts/live-functions 2010-02-20 16:04:08.675380352 +0100
+@@ -2,6 +2,17 @@
+ . /scripts/functions
+ . /live.vars
++# we definitely want this stuff visible
++log_failure_msg()
++{
++        printf "Failure: $@\n"
++}
++
++log_warning_msg()
++{
++        printf "Warning: $@\n"
++}
++
+ log_wait_msg ()
+ {
+       # Print a message and wait for enter