prepare-root: Introduce `ostree/prepare-root.conf`
authorColin Walters <walters@verbum.org>
Fri, 14 Jul 2023 18:31:58 +0000 (14:31 -0400)
committerColin Walters <walters@verbum.org>
Tue, 25 Jul 2023 13:15:09 +0000 (09:15 -0400)
commit22b8e4f953ed183a368ec97ce7f74337b1574045
tree92261138543856191908f3dae972ac9118f69bad
parent250c40a671488ac86fea985ec510488cd0fd2bb0
prepare-root: Introduce `ostree/prepare-root.conf`

Using the repository configuration for configuration of this
program was always a bit hacky.

But actually with composefs, we really must validate
the target root *before* we parse anything in it.

Let's add a config file for `ostree-prepare-root` that can live
in the initramfs, which will already have been verified.

In the future we'll also add configuration for composefs here.

We expect OS builders to drop this in `/usr/lib/ostree/prepare-root.conf`,
but system local configuration can live in `/etc`.
man/ostree-prepare-root.xml
src/boot/dracut/module-setup.sh
src/switchroot/ostree-prepare-root.c