diff options
author | Steven Barth <steven@midlink.org> | 2013-09-24 13:36:42 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-09-24 13:36:42 +0000 |
commit | 0a7525758fccb5a5fc3b0d4c5af21ca4dd2b2e22 (patch) | |
tree | 8fae199100e7ff7773d5ba89bb8cf1ef592624f8 | |
parent | 00c0449bac8749ab8e316b9337d0177c3c399c3d (diff) | |
download | upstream-0a7525758fccb5a5fc3b0d4c5af21ca4dd2b2e22.tar.gz upstream-0a7525758fccb5a5fc3b0d4c5af21ca4dd2b2e22.tar.bz2 upstream-0a7525758fccb5a5fc3b0d4c5af21ca4dd2b2e22.zip |
uml: work around mangled parameter handling for ubd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38166 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 0000000000..ff642a6f4d --- /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, |