]> git.ipfire.org Git - thirdparty/systemd.git/commit
import: Handle small files (#42150)
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 18 May 2026 20:47:41 +0000 (21:47 +0100)
committerGitHub <noreply@github.com>
Mon, 18 May 2026 20:47:41 +0000 (21:47 +0100)
commit82b47c79bdd6957fd31d375866ee03fe852d4d9f
tree83ff1d8d0b9e616c4241d69a3d461d8153b27ebc
parent15783e4657bdc5b80f91cd20b1dc08b8e17b565c
parent5f299e53a8a936d799bb1f223f2abbdcf3973ce9
import: Handle small files (#42150)

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.