rhinstaller / fedup

Deprecated Fedora Upgrade tool
GNU General Public License v2.0
23 stars 13 forks source link

Don't use systemd.unit=XXX to trigger upgrade #24

Closed wgwoods closed 11 years ago

wgwoods commented 11 years ago

This causes problems if, say, you install a kernel after running fedup (but before starting the upgrade).

Instead we should use a systemd generator to temporarily change the default unit if certain flag files exist - like systemd's SystemUpdates feature does.

Probably the flag file(s) should be written by the fedup initrd so the upgrade won't start unless you've booted our special image.