diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-01-09 19:07:06 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-01-09 19:07:06 +0100 |
commit | 3759be713eb1f3812412b7c9eff3767944786a7d (patch) | |
tree | 932fcc22559b0d874fa293b4d9c3b5f3ee0af995 /target/linux/patches/3.1.8/startup.patch | |
parent | c83c6ef149028b71e580a536289704d0ba811802 (diff) |
update to 3.1.8, add lzma-loader for brcm47xx, kernel stuff + patches does not work on Asus WL500gp
Diffstat (limited to 'target/linux/patches/3.1.8/startup.patch')
-rw-r--r-- | target/linux/patches/3.1.8/startup.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/patches/3.1.8/startup.patch b/target/linux/patches/3.1.8/startup.patch new file mode 100644 index 000000000..68e8987b0 --- /dev/null +++ b/target/linux/patches/3.1.8/startup.patch @@ -0,0 +1,20 @@ +diff -Nur linux-2.6.34.orig/init/main.c linux-2.6.34/init/main.c +--- linux-2.6.34.orig/init/main.c 2010-05-16 23:17:36.000000000 +0200 ++++ linux-2.6.34/init/main.c 2010-05-20 20:13:26.321613615 +0200 +@@ -842,6 +842,7 @@ + printk(KERN_WARNING "Failed to execute %s. Attempting " + "defaults...\n", execute_command); + } ++ run_init_process("/init"); + run_init_process("/sbin/init"); + run_init_process("/etc/init"); + run_init_process("/bin/init"); +@@ -889,6 +890,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); + /* |