From 3b9cca8804149f2292266142fa62690e5b05791d Mon Sep 17 00:00:00 2001 From: cyrus Date: Tue, 24 Sep 2013 13:36:42 +0000 Subject: [PATCH] uml: work around mangled parameter handling for ubd git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38166 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../uml/patches-3.8/100-boot-parameter-mangling.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/uml/patches-3.8/100-boot-parameter-mangling.patch 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, -- 2.30.2