OSDN Git Service

1-install: remove formatting to ext2/3
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 7 Jun 2016 04:56:56 +0000 (12:56 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 7 Jun 2016 04:58:50 +0000 (12:58 +0800)
The ext2/3 filesystem causes issue on Android 6.0.
Do not support them now.

install/scripts/1-install

index 6273157..a0cc02e 100644 (file)
@@ -129,18 +129,12 @@ convert_fs()
 format_fs()
 {
        local cmd
-       echo -e '"Do not format" ""\next4 ""\next3 ""\next2 ""\nntfs ""\nfat32 ""' > $menufile
+       echo -e '"Do not format" ""\next4 ""\nntfs ""\nfat32 ""' > $menufile
        choose "Choose filesystem" "Please select a filesystem to format $1:"
        case "$choice" in
                ext4)
                        cmd="make_ext4fs -L"
                        ;;
-               ext3)
-                       cmd="mke2fs -jL"
-                       ;;
-               ext2)
-                       cmd="mke2fs -L"
-                       ;;
                ntfs)
                        cmd="mkntfs -fL"
                        ;;