drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

separate_partition: Do not run if update is pending. #55

Closed drinkcat closed 9 years ago

drinkcat commented 9 years ago

Logging the user out if an update is pending forces a reboot. This does not result in data loss, but is confusing, as the user will likely believe that the partitioning was successful.

Either:

DennisLfromGA commented 9 years ago

Find a way to prevent the reboot from happening.

I think this 1st option will be very hard to implement.

Tell the user to reboot to apply the update first.

I think this 2nd option, either issuing a warning or performing a reboot after confirmation is the best solution. I'm not sure if ChromeOS sets any flags or places any files on the system when an reboot is needed after an update but they should have an Up_Arrow in the systray. If a flag is set or a file is found, then that would be a good way to warn the user to reboot first.

Just my 2 cents, -DennisL

drinkcat commented 9 years ago

I think this 2nd option, either issuing a warning or performing a reboot after confirmation is the best solution. I'm not sure if ChromeOS sets any flags or places any files on the system when an reboot is needed after an update but they should have an Up_Arrow in the systray. If a flag is set or a file is found, then that would be a good way to warn the user to reboot first.

Yep. Went for that approach, at least for now.