• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


Commit MetaInfo

Revisão419460ac4942ca57ea7f4ca658d56153b15e1428 (tree)
Hora2020-05-07 01:10:18
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Mensagem de Log

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.

Mudança Sumário

Diff

--- 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*