From: Toralf Förster Date: Thu, 22 Nov 2012 22:13:17 +0000 (-0500) Subject: Fix non-functional init_opts parameter, bug #422471 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=543181ebefddbd83850d667aa422991fbe8c3735;p=genkernel.git Fix non-functional init_opts parameter, bug #422471 If INIT_OPTS='' is not specified before the argument loop, scoping rules will prevent it from being seen by the switch_root invocation. Signed-off-by: Toralf Förster Signed-off-by: Richard Yao --- diff --git a/defaults/linuxrc b/defaults/linuxrc index 4166396..f1e20ce 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -38,6 +38,7 @@ CMDLINE=$(cat /proc/cmdline) FAKE_ROOT='' FAKE_INIT='' REAL_ROOTFLAGS='' +INIT_OPTS='' ROOTFSTYPE='auto' CRYPT_SILENT=0