parent
b0d4d23bc6
commit
a9c958c2de
@ -1,2 +1,2 @@ |
||||
CONFIG_CMDLINE="console=ttyS0,115200 init=/etc/preinit numcores=16" |
||||
CONFIG_CMDLINE="console=ttyS0,115200 numcores=16" |
||||
CONFIG_CAVIUM_OCTEON_SIMULATOR=y |
||||
|
@ -0,0 +1,14 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -764,10 +764,7 @@ static int noinline init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
- run_init_process("/sbin/init");
|
||||
- run_init_process("/etc/init");
|
||||
- run_init_process("/bin/init");
|
||||
- run_init_process("/bin/sh");
|
||||
+ run_init_process("/etc/preinit");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
}
|
@ -0,0 +1,14 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -802,10 +802,7 @@ static int noinline init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
- run_init_process("/sbin/init");
|
||||
- run_init_process("/etc/init");
|
||||
- run_init_process("/bin/init");
|
||||
- run_init_process("/bin/sh");
|
||||
+ run_init_process("/etc/preinit");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
}
|
@ -0,0 +1,14 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -797,10 +797,7 @@ static int noinline init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
- run_init_process("/sbin/init");
|
||||
- run_init_process("/etc/init");
|
||||
- run_init_process("/bin/init");
|
||||
- run_init_process("/bin/sh");
|
||||
+ run_init_process("/etc/preinit");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
}
|
@ -0,0 +1,14 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -825,10 +825,7 @@ static int noinline init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
- run_init_process("/sbin/init");
|
||||
- run_init_process("/etc/init");
|
||||
- run_init_process("/bin/init");
|
||||
- run_init_process("/bin/sh");
|
||||
+ run_init_process("/etc/preinit");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
}
|
@ -0,0 +1,14 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -825,10 +825,7 @@ static int noinline init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
- run_init_process("/sbin/init");
|
||||
- run_init_process("/etc/init");
|
||||
- run_init_process("/bin/init");
|
||||
- run_init_process("/bin/sh");
|
||||
+ run_init_process("/etc/preinit");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
}
|
@ -0,0 +1,14 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -821,10 +821,7 @@ static noinline int init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
- run_init_process("/sbin/init");
|
||||
- run_init_process("/etc/init");
|
||||
- run_init_process("/bin/init");
|
||||
- run_init_process("/bin/sh");
|
||||
+ run_init_process("/etc/preinit");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
}
|
@ -0,0 +1,14 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -836,10 +836,7 @@ static noinline int init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
- run_init_process("/sbin/init");
|
||||
- run_init_process("/etc/init");
|
||||
- run_init_process("/bin/init");
|
||||
- run_init_process("/bin/sh");
|
||||
+ run_init_process("/etc/preinit");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
}
|
@ -1,10 +0,0 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -825,6 +825,7 @@ static int noinline init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
+ run_init_process("/etc/preinit");
|
||||
run_init_process("/sbin/init");
|
||||
run_init_process("/etc/init");
|
||||
run_init_process("/bin/init");
|
@ -1,10 +0,0 @@ |
||||
--- a/init/main.c
|
||||
+++ b/init/main.c
|
||||
@@ -825,6 +825,7 @@ static int noinline init_post(void)
|
||||
printk(KERN_WARNING "Failed to execute %s. Attempting "
|
||||
"defaults...\n", execute_command);
|
||||
}
|
||||
+ run_init_process("/etc/preinit");
|
||||
run_init_process("/sbin/init");
|
||||
run_init_process("/etc/init");
|
||||
run_init_process("/bin/init");
|
Loading…
Reference in new issue