mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 02:10:15 +02:00
ignore the bootloader's commandline on orion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11591 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
672f1e9407
commit
e2a5cd999c
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…
Reference in New Issue
Block a user