-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline Updates #45
Comments
Here's how to get this working manually Prep
Prepare offline update
After reboot it will update the system but no output will be displayed, this may be due to a
TODO: cleanup /var/lib/eopkg/prepared-update file or just overwrite it for next upgrade. edit: |
I can confirm that the above steps work. |
Oh, very cool! I wonder if it would be worth creating an eopkg-offline-update package that has the service file and a small script be it python, bash, go or anything else that sets this up. It would be great for users of the terminal to use for updates, as we have seen in Plasma updates and probably many other situations where updates cause crashes or issues for users while doing online updates. |
I thought this was supposed to be a symlink to where the packages are: I tried with these instructions (probably my fault along the way somewhere) but I got a boot loop. |
Just needs to exist to tell systemd to trigger offline updates, the contents don't really matter afaict |
This actually feels fairly straight forward.
Reference: https://www.freedesktop.org/software/systemd/man/latest/systemd.offline-updates.html
/system-update > /var/cache/eopkg/packages/
/system-update
and boots into a minimal state and runs a systemd file to do the upgradeThe systemd file needs to:
Notes:
I'm looking into what the systemd service file looks like soon.
The text was updated successfully, but these errors were encountered: