diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-10 13:50:17 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-10 13:50:17 +0100 |
commit | 5f454209b33b45c1787a7ffc872d9a3290c54948 (patch) | |
tree | f72f8fc1c02afae48dd7179ecad2981e8bfc42a7 /target/linux/patches/2.6.36/startup.patch | |
parent | f845241dfccddd44ac12f055e04a57600666b67d (diff) |
update to 2.6.36
abstract version information, can be overwritten for each
target. default is 2.6.36 right now. Only ibmx40 target does use it.
mk/modules.mk is still problematic..
aufs2 need to be ported...
Diffstat (limited to 'target/linux/patches/2.6.36/startup.patch')
-rw-r--r-- | target/linux/patches/2.6.36/startup.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.36/startup.patch b/target/linux/patches/2.6.36/startup.patch new file mode 100644 index 000000000..cbfd4b5bf --- /dev/null +++ b/target/linux/patches/2.6.36/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 (build with OpenADK).\n"); ++ + (void) sys_dup(0); + (void) sys_dup(0); + /* |