Bug#548148: initramfs-tools: add verbose debug output to run_scripts function
tags 548148 moreinfo
stop
On Thu, 24 Sep 2009, Marc Haber wrote:
>
> please consider adding the following obvious patch to
> initramfs-tools/scripts/functions:
sorry for the late reply, but had a pile to review and
0.94 is out now, so.
> --- 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.
hmmm don't get what you want to debug here?
yes this sorting algo is very strange, but verbose output is
easily gained by passing -v to mkinitramfs or update-initramfs
> Greetings
> Marc
thanks for the patience.
Reply to: