bootable/newinstaller
Revision | 66d51136002685be8d6a2dd4cda381ee55ad611f (tree) |
---|---|
Time | 2019-03-12 16:11:04 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
1-install: change default answer of system rw mode
Mauro suggested to keep system read-write mode on auto updating.
That's reasonable. So change the default answer for that.
@@ -484,7 +484,8 @@ install_to() | ||
484 | 484 | fi |
485 | 485 | fi |
486 | 486 | |
487 | - set_answer_if_auto 0 | |
487 | + ! test -f hd/$asrc/system.img -o -d hd/$asrc/system | |
488 | + set_answer_if_auto $? | |
488 | 489 | adialog --title " Question " --defaultno --yesno \ |
489 | 490 | "\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 |
490 | 491 | instal_rw=$? |