Bug#548148: initramfs-tools: add verbose debug output to run_scripts function
Package: initramfs-tools
Version: 0.93.4
Severity: wishlist
Tags: patch
Hi,
please consider adding the following obvious patch to
initramfs-tools/scripts/functions:
--- functions.orig 2009-09-24 10:42:11.000000000 +0200
+++ functions 2009-09-24 10:42:13.000000000 +0200
@@ -207,6 +207,9 @@
[ ! -d ${initdir} ] && return
get_prereqs
reduce_prereqs
+ if [ "${verbose}" = "y" ]; then
+ echo "Hook $initdir run list: $runlist"
+ fi
call_scripts
}
Unfortunately, this is untested since I couldn't figure out to
actually have the verbose variable set. Giving "verbose" on the kernel
command line doesn't seem to do it.
Greetings
Marc
Reply to: