diff options
author | Steven Barth <cyrus@openwrt.org> | 2013-09-24 13:36:42 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2013-09-24 13:36:42 +0000 |
commit | d6c62705fb73764fc22e2e92caca245ec7817448 (patch) | |
tree | edb45ba8e72e2b5e9af5d5a868e65c2144fe915b /target/linux/uml | |
parent | 31f654396ab5cb0b36015388d76bd224d7abf32a (diff) | |
download | mtk-20170518-d6c62705fb73764fc22e2e92caca245ec7817448.zip mtk-20170518-d6c62705fb73764fc22e2e92caca245ec7817448.tar.gz mtk-20170518-d6c62705fb73764fc22e2e92caca245ec7817448.tar.bz2 |
uml: work around mangled parameter handling for ubd
SVN-Revision: 38166
Diffstat (limited to 'target/linux/uml')
-rw-r--r-- | target/linux/uml/patches-3.8/100-boot-parameter-mangling.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/uml/patches-3.8/100-boot-parameter-mangling.patch b/target/linux/uml/patches-3.8/100-boot-parameter-mangling.patch new file mode 100644 index 0000000..ff642a6 --- /dev/null +++ b/target/linux/uml/patches-3.8/100-boot-parameter-mangling.patch @@ -0,0 +1,11 @@ +--- pristine-linux-3.4.38/init/main.c 2013-03-28 21:12:41.000000000 +0200 ++++ build-linux-3.4.38/init/main.c 2013-04-04 12:25:59.987999573 +0300 +@@ -743,7 +743,7 @@ + extern const struct kernel_param __start___param[], __stop___param[]; + initcall_t *fn; + +- strcpy(static_command_line, saved_command_line); ++ /* strcpy(static_command_line, saved_command_line); */ + parse_args(initcall_level_names[level], + static_command_line, __start___param, + __stop___param - __start___param, |