upgrade: Stabilize deployment staging
authorColin Walters <walters@verbum.org>
Thu, 2 Sep 2021 20:59:15 +0000 (16:59 -0400)
committerColin Walters <walters@verbum.org>
Tue, 7 Sep 2021 20:12:43 +0000 (16:12 -0400)
commit8821ec6e569c8e77712f964da6d886fcb665a0cc
tree1e25703b99c52c632b93c0feeb7027245c7e3c0c
parent55a7e74fee369a22f9154b66136c7935fd3129f8
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
man/ostree-admin-upgrade.xml
src/libostree/ostree-sysroot-upgrader.c
src/libostree/ostree-sysroot-upgrader.h
src/ostree/ot-admin-builtin-upgrade.c
tests/kolainst/destructive/staged-deploy.sh