-
Notifications
You must be signed in to change notification settings - Fork 296
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
Non-idempotent result of ostree admin upgrade #2389
Comments
Yeah, this is something that rpm-ostree has switched to doing a long time ago. Essentially, we use the default deployment (i.e. the pending deployment if you've just created a new one like here) as the "origin source", and that includes the base checksum to use when doing additional transformations like e.g. |
We're waaay overdue for this, it's been the default in rpm-ostree for years, and solves several important bugs around not capturing `/etc` while things are running. Also, `ostree admin upgrade --stage` becomes idempotent. Closes: ostreedev#2389
We're waaay overdue for this, it's been the default in rpm-ostree for years, and solves several important bugs around not capturing `/etc` while things are running. Also, `ostree admin upgrade --stage` (should) become idempotent. Closes: ostreedev#2389
This is really about staging I think. The reason we re-run is to pick up any changes in I filed #2430 |
We're waaay overdue for this, it's been the default in rpm-ostree for years, and solves several important bugs around not capturing `/etc` while things are running. Also, `ostree admin upgrade --stage` (should) become idempotent. Closes: ostreedev#2389
If there are no upgrades available run of
ostree admin upgrade
does nothing.Subsequent invocations of
ostree admin upgrade
also does nothing:If there are existing upgrades they're downloaded and deployed.
Subsequent invocations of
ostree admin upgrade
updates pending deployment with new deployment number. Thusupgrade
command is acting likedeploy
command:Once upgrade commit is deployed subsequent invocations of
ostree admin upgrade
should do nothing.The text was updated successfully, but these errors were encountered: