Skip to content

Commit

Permalink
prepare-root: Adjust to composefs mount struct changes
Browse files Browse the repository at this point in the history
This fixes a regression from the latest composefs submodule update in
1582edd. In composefs commit
7560a4fd388481f479c0b3fc2e6d20c6321d9b74 the struct field was changed
from the generic `expected_digest` with the thought that there may be
other signatures or digests in the future.
  • Loading branch information
dbnicholson committed Jun 26, 2023
1 parent 363a1f1 commit 94b49b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/switchroot/ostree-prepare-root.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ main (int argc, char *argv[])
if (composefs_mode == OSTREE_COMPOSEFS_MODE_DIGEST)
{
cfs_options.flags |= LCFS_MOUNT_FLAGS_REQUIRE_VERITY;
cfs_options.expected_digest = composefs_digest;
cfs_options.expected_fsverity_digest = composefs_digest;
}

#ifdef USE_LIBSYSTEMD
Expand Down

0 comments on commit 94b49b4

Please sign in to comment.