Processed: Re: Bug#548148: initramfs-tools: add verbose debug output to run_scripts function
Processing commands for cont...@bugs.debian.org: tags 548148 moreinfo Bug #548148 [initramfs-tools] initramfs-tools: add verbose debug output to run_scripts function Added tag(s) moreinfo. stop Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.127051878914102.transcr...@bugs.debian.org
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.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-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100406015209.gb7...@stro.at
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.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-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org