I'm not aware of current possibility to achieve this
Expected:
rpm-ostree install --apply-live --transient PKG #
rpm-ostree override replace --apply-live --transient [PKG/URI] # if override replace also gains --apply-live support
rpm-ostree reset --transient # to reset transient changes without need to reboot
Steps to reproduce it
Sometimes, for testing updates or to try various alternatives for doing one task, it'd be quite handy to be able to use --apply-live to do just transient update without touching the deployments on disk - and then option to reset the changes to state if they never were there (well there may be side effects in /etc or other writable system directories but let's ignore that here). For simplicity, it could be sufficient for reset to reset all the transient changes at once to the booted deployment state.
This is sort of possible already, with an extra step. You can use rpm-ostree cleanup -p to cancel the pending deployment and sudo rpm-ostree apply-live --reset --allow-replacement to reset the live overlay.
Host system details
Expected vs actual behavior
I'm not aware of current possibility to achieve this
Expected:
Steps to reproduce it
Sometimes, for testing updates or to try various alternatives for doing one task, it'd be quite handy to be able to use
--apply-live
to do just transient update without touching the deployments on disk - and then option to reset the changes to state if they never were there (well there may be side effects in/etc
or other writable system directories but let's ignore that here). For simplicity, it could be sufficient forreset
to reset all the transient changes at once to the booted deployment state.Would you like to work on the issue?
just testing