1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-19 22:03:15 +03:00
openwrt-xburst/target/linux/rdc/patches/003-rootfstype.patch

14 lines
400 B
Diff
Raw Normal View History

Index: linux-2.6.24.7/init/do_mounts.c
===================================================================
--- linux-2.6.24.7.orig/init/do_mounts.c
+++ linux-2.6.24.7/init/do_mounts.c
@@ -256,6 +256,8 @@ static void __init get_fs_names(char *pa
{
char *s = page;
+ if (!root_fs_names)
+ root_fs_names = "squashfs,jffs2";
if (root_fs_names) {
strcpy(page, root_fs_names);
while (*s++) {