]> git.ipfire.org Git - thirdparty/systemd.git/commit
import: optionally pull .verity + .roothash.p7s data when downloading
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Jan 2021 22:18:54 +0000 (23:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 19 Jan 2021 17:29:59 +0000 (18:29 +0100)
commit133b34f69a72dc90d4e336837d699245390c9f50
treeeec3db1ef13f2c9b4576422116b877b325733a3c
parent6792cbbcf84b730f465decbeaf247c6b1ccf1c18
import: optionally pull .verity + .roothash.p7s data when downloading

We already had support for downlading a .nspawn and a .roothash file,
let's make the set complete, and also download .verity + roothash.p7s if
it exists, as nspawn consumes that.

Since there are now four kinds of additional resources to acquire, let's
introduce a PullFlags flags value for this instead of separate 'bool'
variables, it's just too many to always pass those around on the
function parameter list.
src/import/pull-common.c
src/import/pull-common.h
src/import/pull-raw.c
src/import/pull-raw.h
src/import/pull-tar.c
src/import/pull-tar.h
src/import/pull.c