deploy: Honor prepare-root.conf at deploy time
authorColin Walters <walters@verbum.org>
Fri, 9 Feb 2024 00:35:37 +0000 (19:35 -0500)
committerColin Walters <walters@verbum.org>
Fri, 9 Feb 2024 00:53:23 +0000 (19:53 -0500)
commitcae4ceb6c5f8d3e1db52364a3ca6cd9ccb4e0a69
treeb7d1cf09c9c5a661933d5f1197aa43c8a488279e
parentd8f03c63a7268e1b09e5ac896b80c62d8f568aea
deploy: Honor prepare-root.conf at deploy time

I want to try to get away from the "repository global" configuration
in the repo config.

A major problem is that there's not an obvious way to configure
it as part of an ostree commit/container build - it needs
to be managed "out of band".

With this change, we parse the `usr/lib/ostree/prepare-root.conf`
in the deployment root, and if composefs is enabled there,
then we honor it.

We do still honor `ex-integrity.composefs` but that I think
we can schedule to remove.
Makefile-tests.am
src/libostree/ostree-sysroot-deploy.c
tests/admin-test.sh
tests/test-admin-deploy-composefs.sh [new file with mode: 0755]