On Wed, 2009-03-04 at 13:48 +0100, Harald Hoyer wrote: > plain text document attachment (0001-strip-init-from-INIT.patch) > From 5e043b9fd529b1cfb0358a69f263b84620ffbd1b Mon Sep 17 00:00:00 2001 > From: Harald Hoyer <harald@xxxxxxxxxx> > Date: Wed, 4 Mar 2009 13:45:21 +0100 > Subject: [PATCH] strip "init=" from INIT > > --- > init | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/init b/init > index 581c2b9..9605141 100755 > --- a/init > +++ b/init > @@ -90,7 +90,7 @@ ln -s "$root" /dev/root > fstype="$(getarg rootfstype)" && fstype="-t ${fstype#rootfstype=}" > mount $fstype -o $rflags /dev/root $NEWROOT || emergency_shell > > -INIT=$(getarg init) > +INIT=$(getarg init); INIT=${INIT#init=} > [ "$INIT" ] || { > for i in /sbin/init /etc/init /init /bin/sh; do > [ -x "$NEWROOT$i" ] && { INIT="$i"; break; } Fixed in the hookify-finding-root patches that I should repost to the list. :) -- Victor Lowther RHCE# 805008539634727 LPIC-2# LPI000140019 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html