]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: wrap verity settings in new VeritySettings structure
authorLennart Poettering <lennart@poettering.net>
Tue, 15 Sep 2020 20:09:08 +0000 (22:09 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 Sep 2020 11:36:23 +0000 (20:36 +0900)
commit89e62e0bd3cb72915b705b5e2da1834e4d8aea9f
treef143f37bffd852432564e37d89983c1035c0618a
parentdc0e90d2e00552df3a45e5ccad74ed37dc23a38e
dissect: wrap verity settings in new VeritySettings structure

Just some refactoring: let's place the various verity related parameters
in a common structure, and pass that around instead of the individual
parameters.

Also, let's load the PKCS#7 signature data when finding metadata
right-away, instead of delaying this until we need it. In all cases we
call this there's not much time difference between the metdata finding
and the loading, hence this simplifies things and makes sure root hash
data and its signature is now always acquired together.
src/core/namespace.c
src/dissect/dissect.c
src/gpt-auto-generator/gpt-auto-generator.c
src/nspawn/nspawn.c
src/portable/portable.c
src/shared/dissect-image.c
src/shared/dissect-image.h
src/shared/machine-image.c