summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.27/003-rootfstype.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-27 20:43:14 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-27 20:43:14 +0000
commit6388bbbfbac320a089d9044f5e8a9be5a7d57408 (patch)
treef5d324d4df755519ce28e85f5b08da20de2f0713 /target/linux/rdc/patches-2.6.27/003-rootfstype.patch
parent5944cb9a11215b2bf6d13b5f643b3b9124049779 (diff)
[rdc] Add 2.6.27 patches and configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13380 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..55a4cd49f
--- /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++) {