]> git.ipfire.org Git - thirdparty/systemd.git/commit
import: Handle small files 42150/head
authorKai Lüke <kai@amutable.com>
Mon, 18 May 2026 07:46:28 +0000 (16:46 +0900)
committerKai Lüke <kai@amutable.com>
Mon, 18 May 2026 10:30:10 +0000 (19:30 +0900)
commit5f299e53a8a936d799bb1f223f2abbdcf3973ce9
tree21914b85f98b1f2d5e7dfeeea0bb5cdd1407d2b5
parent326ab6d43029b6aaf46ab4a246aa0e43022a276d
import: Handle small files

When systemd-pull encountered a file shorter than the compression magic
headers it looks for, then it would complete the download in the
analysis state and fail.
When we are still in the analysis state and the download is done, we
know there is no compression and we should leave the analysis state and
continue writing out to disk as usual.
src/import/pull-job.c
test/units/TEST-72-SYSUPDATE.sh