File bootchart_init.patch of Package bootchart
commit 96555b7318f37621d48834b9f9f842231c885090
Author: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Date: Tue Nov 9 23:26:47 2010 +0100
Fix cmdline parsing for alternative init system
The issue was a simple misplaced break that interrupted the cmdline
parsing at the first occurence of init=.
Should fix debian #602684 and novell #649513.
Index: bootchart2-0.12.4/bootchartd
===================================================================
--- bootchart2-0.12.4.orig/bootchartd
+++ bootchart2-0.12.4/bootchartd
@@ -173,8 +173,8 @@ if [ $$ -eq 1 ]; then
_init=${i#*=}
if test "$_init" != "/sbin/bootchartd"; then
init="$_init"
+ break
fi
- break
fi
done
export PATH=$OLDPATH