Bug#548148: initramfs-tools: add verbose debug output to run_scripts function

2010-04-05 Thread maximilian attems
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.0 +0200
 +++ functions   2009-09-24 10:42:13.0 +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.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#548148: initramfs-tools: add verbose debug output to run_scripts function

2009-09-24 Thread Marc Haber
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.0 +0200
+++ functions   2009-09-24 10:42:13.0 +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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org