Colin Walters
16d3359bf8
lib/sysroot: Move staged into deployment list, rework handling
...
Followup to: https://github.com/ostreedev/ostree/pull/1503
After starting some more work on on this in rpm-ostree, it is
actually simpler if the staged deployment just shows up in the list.
It's effectively opt-in today; down the line we may make it the default,
but I worry about breaking things that e.g. assume they can mutate
the deployment before rebooting and have `/etc` already merged.
There's not that many things in libostree that iterate over the deployment
list. The biggest change here is around the
`ostree_sysroot_write_deployments_with_options` API. I initially
tried hard to support a use case like "push a rollback" while retaining
the staged deployment, but everything gets very messy because that
function truly is operating on the bootloader list.
For now what I settled on is to just discard the staged deployment;
down the line we can enhance things.
Where we then have some new gymnastics is around implementing
the finalization; we need to go to some effort to pull the staged
deployment out of the list and mark it as unstaged, and then pass
it down to `write_deployments()`.
Closes : #1539
Approved by: jlebon
2018-04-18 18:59:15 +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-04-18 18:59:15 +00:00
2017-09-27 14:44:00 +00:00
2018-04-11 19:11:07 +00:00
2018-01-30 20:03:42 +00:00
2018-03-28 23:41:55 +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
2015-05-28 14:21:30 -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-03-16 19:21:31 +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-01-30 20:03:42 +00:00
2018-02-26 19:06:59 +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-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-02-23 22:49:06 +00:00
2018-01-30 20:03:42 +00:00
2018-04-14 15:36:21 +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-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-16 22:54:53 +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-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-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-03-16 19:21:31 +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-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
2017-06-27 21:45:34 +00:00
2018-03-21 16:01:41 +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