You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/rdc/patches-2.6.28/003-rootfstype.patch

12 lines
262 B
Diff

--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -189,6 +189,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++) {