summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.24
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-08-05 13:42:36 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-08-05 13:42:36 +0000
commit1b0318158d9b80b773f643454dc1aed9a1926deb (patch)
tree90654f50005ec1ad778c86fb8f381400e5d558f5 /target/linux/rdc/patches-2.6.24
parent027a7939f17e50432db03c3ea354c3d40c9de614 (diff)
downloadmaster-31e0f0ae-1b0318158d9b80b773f643454dc1aed9a1926deb.tar.gz
master-31e0f0ae-1b0318158d9b80b773f643454dc1aed9a1926deb.tar.bz2
master-31e0f0ae-1b0318158d9b80b773f643454dc1aed9a1926deb.zip
Reinstate rdc bootability and force it to use init=/etc/preinit, thus the remove the hackish SetInitramfs actions
SVN-Revision: 12136
Diffstat (limited to 'target/linux/rdc/patches-2.6.24')
-rw-r--r--target/linux/rdc/patches-2.6.24/005-cmdline_setup.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.24/005-cmdline_setup.patch b/target/linux/rdc/patches-2.6.24/005-cmdline_setup.patch
new file mode 100644
index 0000000000..007477e836
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.24/005-cmdline_setup.patch
@@ -0,0 +1,10 @@
+--- linux-2.6.24.7/arch/x86/kernel/setup_32.c 2008-05-07 01:22:34.000000000 +0200
++++ linux-2.6.24.7.new/arch/x86/kernel/setup_32.c 2008-08-05 14:54:58.000000000 +0200
+@@ -609,6 +609,7 @@
+ print_memory_map("user");
+ }
+
++ strcat(boot_command_line, " init=/etc/preinit");
+ strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
+ *cmdline_p = command_line;
+