OSDN Git Service

1-install: disallow to install read-write mode on ntfs
[android-x86/bootable-newinstaller.git] / install / scripts / 1-install
index 2321739..590c5ad 100644 (file)
@@ -98,6 +98,8 @@ create_menulst()
 
        create_entry "Android-x86 $VER" quiet $cmdline
        create_entry "Android-x86 $VER (Debug mode)" $cmdline DEBUG=2
+       create_entry "Android-x86 $VER (Debug nomodeset)" nomodeset $cmdline DEBUG=2
+       create_entry "Android-x86 $VER (Debug video=LVDS-1:d)" video=LVDS-1:d $cmdline DEBUG=2
 }
 
 create_winitem()
@@ -182,8 +184,8 @@ install_to()
                [ $? -ne 0 ] && return 255
        fi
 
-       [ "$fs" != "vfat" ] && dialog --title " Question " --yesno \
-               "\nDo you want to install /system directory as read-write?\n\nLet /system be read-write make it easier to debug, but it needs more disk space and longer installation time." 10 61
+       [ "$fs" != "vfat" -a "$fs" != "fuseblk" ] && dialog --title " Question " --yesno \
+               "\nDo you want to install /system directory as read-write?\n\nMaking /system be read-write is easier for debugging, but it needs more disk space and longer installation time." 10 61
        instal_rw=$?
 
        files="mnt/$SRC/kernel mnt/$SRC/initrd.img mnt/$SRC/ramdisk.img"