Colin Walters
7468600029
deploy: Retain staged by default
...
For `rpm-ostree ex livefs` we have a use case of pushing a rollback
deployment. There's no reason this should require deleting the staged
deployment (and doing so actually breaks livefs which tries to access
it as a data source).
I was initially very conservative here, but I think it ends up
being fairly easy to retain the staged deployment. We need to handle
two cases:
First, when the staged is *intentionally* deleted; here, we just need
to unlink the `/run` file, and then everything will be sync'd up after
reloading.
Second, (as in the livefs case) where we're retaining it,
e.g. adding a deployment to the end. What I realized here is that
we can have the code keep `new_deployments` as view without staged,
and then when we do the final reload we'll end up re-reading it from
disk anyways.
Closes : #1672
Approved by: jlebon
2018-07-06 15:23:52 +00:00
..
2017-03-30 19:19:54 +00:00
2015-03-19 12:43:04 -04:00
2016-03-03 08:50:19 -05:00
2018-07-06 15:23:52 +00:00
2018-06-07 17:28:49 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-06-25 16:22:22 +00:00
2018-02-23 22:49:06 +00:00
2017-03-30 19:19:54 +00:00
2018-01-30 20:03:42 +00:00
2017-11-01 17:38:26 +00:00
2017-11-01 17:38:26 +00:00
2018-01-04 12:32:47 +00:00
2016-07-28 10:10:17 +00:00
2018-04-23 18:33:45 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-03 21:25:07 +00:00
2018-07-05 17:59:09 +00:00
2016-04-04 14:19:35 +00:00
2018-01-12 19:38:34 +00:00
2016-06-09 21:10:35 +00:00
2016-02-26 08:19:01 -05:00
2016-02-26 08:19:01 -05:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-07 17:28:49 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-27 18:08:28 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-06-18 13:21:52 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-02-23 22:49:06 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-04-30 17:24:51 +00:00
2018-01-30 20:03:42 +00:00
2018-05-24 21:00:52 +00:00
2018-04-19 13:35:15 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-07 17:28:49 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-06-29 21:31:08 +00:00
2018-06-27 18:08:28 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-03-05 17:39:35 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-07-05 20:11:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-03-16 19:18:08 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-03-16 19:21:31 +00:00
2018-01-30 20:03:42 +00:00
2018-07-05 17:59:09 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-04-03 15:50:40 +00:00
2018-01-30 20:03:42 +00:00
2018-06-07 17:28:49 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2017-06-27 21:45:34 +00:00
2018-06-19 15:48:14 -04:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00
2018-01-30 20:03:42 +00:00