diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/linux/montavista-sa-2.4.17-mvl21/remove-montavista-init-stupidity.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/linux/montavista-sa-2.4.17-mvl21/remove-montavista-init-stupidity.patch')
-rw-r--r-- | packages/linux/montavista-sa-2.4.17-mvl21/remove-montavista-init-stupidity.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/linux/montavista-sa-2.4.17-mvl21/remove-montavista-init-stupidity.patch b/packages/linux/montavista-sa-2.4.17-mvl21/remove-montavista-init-stupidity.patch index e69de29bb2..0fd0a96659 100644 --- a/packages/linux/montavista-sa-2.4.17-mvl21/remove-montavista-init-stupidity.patch +++ b/packages/linux/montavista-sa-2.4.17-mvl21/remove-montavista-init-stupidity.patch @@ -0,0 +1,23 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- linux-2.4.17_mvl21/init/main.c~remove-montavista-init-stupidity ++++ linux-2.4.17_mvl21/init/main.c +@@ -852,15 +852,11 @@ + * trying to recover a really broken machine. + */ + +-#ifndef CONFIG_SA1100_BEAGLE + if (execute_command) + execve(execute_command,argv_init,envp_init); + execve("/sbin/init",argv_init,envp_init); + execve("/etc/init",argv_init,envp_init); + execve("/bin/init",argv_init,envp_init); +-#else +- strcpy( argv_init[0], "--login" ); +-#endif + execve("/bin/sh",argv_init,envp_init); + panic("No init found. Try passing init= option to kernel."); + } |