mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 19:40:39 +00:00
ignore the bootloader's commandline on orion
SVN-Revision: 11591
This commit is contained in:
parent
88dcf36525
commit
5553c4da8c
11
target/linux/orion/patches/010-ignore_atag_cmdline.patch
Normal file
11
target/linux/orion/patches/010-ignore_atag_cmdline.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/arch/arm/kernel/setup.c
|
||||||
|
+++ b/arch/arm/kernel/setup.c
|
||||||
|
@@ -719,7 +719,7 @@
|
||||||
|
|
||||||
|
static int __init parse_tag_cmdline(const struct tag *tag)
|
||||||
|
{
|
||||||
|
- strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
|
||||||
|
+// strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user