Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel...
[librecmc/librecmc.git] / target / linux / rdc / patches / 003-rootfstype.patch
1 --- a/init/do_mounts.c
2 +++ b/init/do_mounts.c
3 @@ -163,6 +163,8 @@
4  {
5         char *s = page;
6  
7 +       if (!root_fs_names)
8 +               root_fs_names = "squashfs,jffs2";
9         if (root_fs_names) {
10                 strcpy(page, root_fs_names);
11                 while (*s++) {