kc9wwh / macOSUpgrade

Workflow for doing in-place upgrades.
Other
418 stars 103 forks source link

macOS 10.14.3 or later will require reboot twice #100

Closed kenchan0130 closed 5 years ago

kenchan0130 commented 5 years ago

Background

macOS 10.14.3 or later will require reboot twice. (See also: #56, #74 and #97)

Currently, this script will load and launch agent has a script to run OSInstallerSetup without cancelFVAuthReboot. This process will make it.

Policy ideas

We have the following policy ideas to respond to this issue.

Idea 1. If a non-administrative user runs this script, it should uniformly not auth reboot. (We don't use the agent of osinstallersetupd.) Idea 2. Temporarily add administrative privileges as #86 in this script. Idea 3. According to this PR, depending on the arguments reboot will bring up the admin dialog. Idea 4. If the version of os installer is 10.14 or later and a non-administrative user runs this script, it should uniformly not auth reboot.

kenchan0130 commented 5 years ago

In the discussion here, I think it is better to adopt idea4.

kenchan0130 commented 5 years ago

https://github.com/kc9wwh/macOSUpgrade/pull/97 has been merged. If we adopt idea 4, we will not need argument 10. That is, it is possible for this idea to add a little breaking changes to this script.

But I think that it is good to have few arguments. Therefore, I think I should continue to adopt idea4.

kenchan0130 commented 5 years ago

Thx @taniguti. I will close this issue.