summaryrefslogtreecommitdiff
path: root/packages/linux/chumby-kernel/chumby-override-cmdline.patch
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2008-01-17 23:22:21 +0000
committerDaniel Willmann <daniel@totalueberwachung.de>2008-01-17 23:22:21 +0000
commit5a47ec1835998c7c02a8397a043a83e7fc010096 (patch)
treeabacc6d20e7fb5748a039876242a84d3ac0bb5e2 /packages/linux/chumby-kernel/chumby-override-cmdline.patch
parent1d9c29e807e87cca8690d1a6515ae03dc2eeb779 (diff)
chumby-kernel: Ignore cmdline from bootloader since we can't change it
(This is needed to ignore rootfstype=cramfs passed by the bootloader) chumby.conf: Add options for jffs2 generation
Diffstat (limited to 'packages/linux/chumby-kernel/chumby-override-cmdline.patch')
-rw-r--r--packages/linux/chumby-kernel/chumby-override-cmdline.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/linux/chumby-kernel/chumby-override-cmdline.patch b/packages/linux/chumby-kernel/chumby-override-cmdline.patch
new file mode 100644
index 0000000000..4ff29f9007
--- /dev/null
+++ b/packages/linux/chumby-kernel/chumby-override-cmdline.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.16/arch/arm/kernel/setup.c
+===================================================================
+--- linux-2.6.16.orig/arch/arm/kernel/setup.c 2008-01-17 21:49:50.000000000 +0100
++++ linux-2.6.16/arch/arm/kernel/setup.c 2008-01-17 22:20:40.000000000 +0100
+@@ -660,7 +660,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;
+ }
+