lib/deploy: error out if composefs enabled but unsupported
authorJonathan Lebon <jonathan@jlebon.com>
Sat, 14 Dec 2024 13:47:21 +0000 (08:47 -0500)
committerJonathan Lebon <jonathan@jlebon.com>
Tue, 17 Dec 2024 18:30:11 +0000 (13:30 -0500)
commit41a7f36f8e0aefd154c8eeea57dd7ab1e7064dac
tree4a3db46f43ddb5bf2bf8bf9b7d46830ad80fee47
parent9a0acd7249bb0c7f55c2bf56e5073902cd60038b
lib/deploy: error out if composefs enabled but unsupported

If composefs was explicitly requested (`enabled = true`) but libostree
was not compiled with composefs support, error out at deploy time. This
matches the logic in `ostree-prepare-root`.
src/libostree/ostree-sysroot-deploy.c