mirror of
https://github.com/systemd/systemd.git
synced 2026-07-24 16:25:52 +00:00
import-generator: disable timeout for downloaded images
Downloading images can take arbitrary amounts of time, hence disable the timeout for it. Inspired by https://github.com/systemd/particleos/issues/80
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
2f615ec1d1
commit
06de39b3bd
@@ -388,7 +388,7 @@ static int transfer_generate(const Transfer *t) {
|
||||
if (!escaped)
|
||||
return log_oom();
|
||||
|
||||
fprintf(f, "ExecStart=:varlinkctl call -q --more /run/systemd/io.systemd.Import io.systemd.Import.Pull '%s'\n",
|
||||
fprintf(f, "ExecStart=:varlinkctl call -q --more --timeout=infinity /run/systemd/io.systemd.Import io.systemd.Import.Pull '%s'\n",
|
||||
escaped);
|
||||
|
||||
r = fflush_and_check(f);
|
||||
|
||||
Reference in New Issue
Block a user