diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-02 18:42:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-02 18:42:33 +0100 |
commit | 62cf4f1ab7f29f156dd399516e2301dc78fc9bb6 (patch) | |
tree | f3481a17dbdf7a5bb659efe0a40474873cf03092 /target/linux/patches/3.11.10/startup.patch | |
parent | 52a49601ba47b77d93d4856f2ee01e55755905f1 (diff) |
update mpdbox package collection, new lighttpd, kernel, php, mpd, mpc, libmpd, ffmpeg
Diffstat (limited to 'target/linux/patches/3.11.10/startup.patch')
-rw-r--r-- | target/linux/patches/3.11.10/startup.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/patches/3.11.10/startup.patch b/target/linux/patches/3.11.10/startup.patch new file mode 100644 index 000000000..d23d6d212 --- /dev/null +++ b/target/linux/patches/3.11.10/startup.patch @@ -0,0 +1,22 @@ +diff -Nur linux-3.7.3.orig/init/main.c linux-3.7.3/init/main.c +--- linux-3.7.3.orig/init/main.c 2013-01-17 17:47:40.000000000 +0100 ++++ linux-3.7.3/init/main.c 2013-01-19 15:08:13.000000000 +0100 +@@ -834,7 +834,8 @@ + printk(KERN_WARNING "Failed to execute %s. Attempting " + "defaults...\n", execute_command); + } +- if (!run_init_process("/sbin/init") || ++ if (!run_init_process("/init") || ++ !run_init_process("/sbin/init") || + !run_init_process("/etc/init") || + !run_init_process("/bin/init") || + !run_init_process("/bin/sh")) +@@ -879,6 +880,8 @@ + if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) + printk(KERN_WARNING "Warning: unable to open an initial console.\n"); + ++ printk(KERN_WARNING "Starting Linux (built with OpenADK).\n"); ++ + (void) sys_dup(0); + (void) sys_dup(0); + /* |