strip "init=" from INIT
PATCH 1/1 strip "init=" from INIT
From 5e043b9fd529b1cfb0358a69f263b84620ffbd1b Mon Sep 17 00:00:00 2001
From: Harald Hoyer <[email protected]>
Date: Wed, 4 Mar 2009 13:45:21 +0100
Subject: [PATCH] strip "init=" from INIT
--- init | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
init +1 -1
@@ -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; }
Signature · 1 line
1.6.0.6
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · Harald Hoyer
plain text document attachment (0001-strip-init-from-INIT.patch) From
5e043b9fd529b1cfb0358a69f263b84620ffbd1bMon Sep 17 00:00:00 2001
From: Harald Hoyer <[email protected]>
Date: Wed, 4 Mar 2009 13:45:21 +0100
Subject: [PATCH] strip "init=" from INIT--- init | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)init +0
-0
init ln -s "$root" /dev/root · line 96
Quoted 8 lines
init +1
-1@@ -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. :)
Signature · 8 lines
Victor Lowther RHCE# 805008539634727 LPIC-2# LPI000140019 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html