prepare-root: Fold together composefs signature cases
authorColin Walters <walters@verbum.org>
Mon, 21 Aug 2023 21:12:08 +0000 (17:12 -0400)
committerColin Walters <walters@verbum.org>
Fri, 25 Aug 2023 19:22:21 +0000 (15:22 -0400)
commite952b1bf1413feb21eb0cc9e2514eb9e1895f2cf
tree3274c4cb5c9e06c7d7440433749028b86d3fcff2
parent1d316e31093e33eff6c3ae7f8081547ef93e72ed
prepare-root: Fold together composefs signature cases

Now that we don't support digest-but-not-signature verification
for composefs, the logic here was unnecessarily complicated.
With a prior prep patch that moved the composefs option
initialization up, we can just have everything related to signature
verification in a single conditonal.
src/switchroot/ostree-prepare-root.c