]> git.ipfire.org Git - thirdparty/systemd.git/commit
pull: now that PullJob can verify expected digests, let's rely on it for tar/raw...
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Nov 2025 21:24:01 +0000 (22:24 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 8 Nov 2025 08:28:50 +0000 (09:28 +0100)
commit5bba33f5e9251a4e97ceac085091244df5c9e711
treea57367cdc50cab55ba1d11a7816194e4e3338063
parent6f16ab48930b7ce3649bb57cf39facac38341799
pull: now that PullJob can verify expected digests, let's rely on it for tar/raw pulling

Instead of authenticating the downloaded image explicity in the tar and
in the raw downloader, we can now rely on the checksum checking in the
generic PullJob code. Hence do so: drop tep the checksum field from
TarPull and RawPull, and just initialized the ->expected_checksum in the
relevant PullJob instead.
src/import/pull-common.c
src/import/pull-common.h
src/import/pull-raw.c
src/import/pull-tar.c