upgrade: Stabilize deployment staging
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: https://github.com/ostreedev/ostree/issues/2389
This commit is contained in:
1 parent
55a7e74fee
commit
8821ec6e56
5 files changed
+25
-7
No files matched your search
@@ -35,12 +35,15 @@ G_BEGIN_DECLS
|
||||
* OstreeSysrootUpgraderFlags:
|
||||
* @OSTREE_SYSROOT_UPGRADER_FLAGS_NONE: No options
|
||||
* @OSTREE_SYSROOT_UPGRADER_FLAGS_IGNORE_UNCONFIGURED: Do not error if the origin has an unconfigured-state key
|
||||
* @OSTREE_SYSROOT_UPGRADER_FLAGS_STAGE: Enable "staging" (finalization at shutdown); recommended
|
||||
* (Since: 2021.4)
|
||||
*
|
||||
* Flags controlling operation of an #OstreeSysrootUpgrader.
|
||||
*/
|
||||
typedef enum {
|
||||
OSTREE_SYSROOT_UPGRADER_FLAGS_NONE = (1 << 0),
|
||||
OSTREE_SYSROOT_UPGRADER_FLAGS_IGNORE_UNCONFIGURED = (1 << 1),
|
||||
OSTREE_SYSROOT_UPGRADER_FLAGS_STAGE = (1 << 2),
|
||||
} OstreeSysrootUpgraderFlags;
|
||||
|
||||
_OSTREE_PUBLIC
|
||||
|
||||
Reference in new issue
Block a user