summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.27/003-rootfstype.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-27 20:43:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-27 20:43:14 +0000
commitedd0a9befb74040d100fab0af6461e4e5acf1326 (patch)
tree16a66b8a02175a9663b18e442e0e7d4c4ab9d797 /target/linux/rdc/patches-2.6.27/003-rootfstype.patch
parentcc2e43992d9488cbe570378b8a0a0d65c083b1d7 (diff)
downloadmaster-31e0f0ae-edd0a9befb74040d100fab0af6461e4e5acf1326.tar.gz
master-31e0f0ae-edd0a9befb74040d100fab0af6461e4e5acf1326.tar.bz2
master-31e0f0ae-edd0a9befb74040d100fab0af6461e4e5acf1326.zip
Add 2.6.27 patches and configuration
SVN-Revision: 13380
Diffstat (limited to 'target/linux/rdc/patches-2.6.27/003-rootfstype.patch')
-rw-r--r--target/linux/rdc/patches-2.6.27/003-rootfstype.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.27/003-rootfstype.patch b/target/linux/rdc/patches-2.6.27/003-rootfstype.patch
new file mode 100644
index 0000000000..55a4cd49f5
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.27/003-rootfstype.patch
@@ -0,0 +1,11 @@
+--- a/init/do_mounts.c
++++ b/init/do_mounts.c
+@@ -163,6 +163,8 @@
+ {
+ char *s = page;
+
++ if (!root_fs_names)
++ root_fs_names = "squashfs,jffs2";
+ if (root_fs_names) {
+ strcpy(page, root_fs_names);
+ while (*s++) {