1 |
commit: 543181ebefddbd83850d667aa422991fbe8c3735 |
2 |
Author: Toralf Förster <toralf.foerster <AT> gmx <DOT> de> |
3 |
AuthorDate: Thu Nov 22 22:13:17 2012 +0000 |
4 |
Commit: Richard Yao <ryao <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 22 22:17:16 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=543181eb |
7 |
|
8 |
Fix non-functional init_opts parameter, bug #422471 |
9 |
|
10 |
If INIT_OPTS='' is not specified before the argument loop, scoping rules |
11 |
will prevent it from being seen by the switch_root invocation. |
12 |
|
13 |
Signed-off-by: Toralf Förster <toralf.foerster <AT> gmx.de> |
14 |
Signed-off-by: Richard Yao <ryao <AT> gentoo.org> |
15 |
|
16 |
--- |
17 |
defaults/linuxrc | 1 + |
18 |
1 files changed, 1 insertions(+), 0 deletions(-) |
19 |
|
20 |
diff --git a/defaults/linuxrc b/defaults/linuxrc |
21 |
index 4166396..f1e20ce 100755 |
22 |
--- a/defaults/linuxrc |
23 |
+++ b/defaults/linuxrc |
24 |
@@ -38,6 +38,7 @@ CMDLINE=$(cat /proc/cmdline) |
25 |
FAKE_ROOT='' |
26 |
FAKE_INIT='' |
27 |
REAL_ROOTFLAGS='' |
28 |
+INIT_OPTS='' |
29 |
ROOTFSTYPE='auto' |
30 |
CRYPT_SILENT=0 |