upgrades: Increase distribution upgrade timeout to 3 days

- 12 hours might genuinely not enough with SD cards, slow download speeds, and
large number of packages (due to apps such as GNOME).

Tests:

- None

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2025-04-04 11:48:11 -07:00 committed by James Valleroy
parent 2b6bac2b73
commit a8eba9e719
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -335,7 +335,7 @@ def start_service(test_upgrade: bool):
args = [
'--unit=freedombox-dist-upgrade',
'--description=Upgrade to new stable Debian release',
'--property=KillMode=process', '--property=TimeoutSec=12hr',
'--property=KillMode=process', '--property=TimeoutSec=72hr',
f'--property=BindPaths={temp_sources_list}:{sources_list}'
]
subprocess.run(['systemd-run'] + args + [