aboutsummaryrefslogtreecommitdiffstats
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
commit63226e5d879fb183015bd99dd8059852af9edf8c (patch)
treef5d324d4df755519ce28e85f5b08da20de2f0713 /target/linux/rdc/patches-2.6.27/003-rootfstype.patch
parent95ea278ae9ffa7750335591cbe424cf046743251 (diff)
downloadupstream-63226e5d879fb183015bd99dd8059852af9edf8c.tar.gz
upstream-63226e5d879fb183015bd99dd8059852af9edf8c.tar.bz2
upstream-63226e5d879fb183015bd99dd8059852af9edf8c.zip
[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 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++) {