From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

bootable/newinstaller


Commit MetaInfo

Revision419460ac4942ca57ea7f4ca658d56153b15e1428 (tree)
Time2020-05-07 01:10:18
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

1-install: move try_upgrade to an earlier step

The try_upgrade should be run before checking whether system
was installed as the read-write mode.

Change Summary

Incremental Difference

--- a/install/scripts/1-install
+++ b/install/scripts/1-install
@@ -484,6 +484,8 @@ install_to()
484484 fi
485485 fi
486486
487+ try_upgrade hd/$asrc
488+
487489 ! test -f hd/$asrc/system.img -o -d hd/$asrc/system
488490 set_answer_if_auto $?
489491 adialog --title " Question " --defaultno --yesno \
@@ -505,7 +507,7 @@ install_to()
505507 for s in `du -sk $files | awk '{print $1}'`; do
506508 size=$(($size+$s))
507509 done
508- try_upgrade hd/$asrc
510+
509511 mkdir -p hd/$asrc
510512 cd hd/$asrc
511513 rm -rf system*