upgrades: Ensure freedombox package is upgraded during dist upgrade

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy 2020-12-28 11:26:32 -05:00 committed by Sunil Mohan Adapa
parent 993be1086e
commit 66b0238146
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -434,6 +434,11 @@ def _perform_dist_upgrade():
print('Restarting FreedomBox service...', flush=True)
service_restart('plinth')
# Finally, run unattended-upgrade once more in a separate process
# to handle upgrading the freedombox package.
print('Running unattended-upgrade in separate process...', flush=True)
_run()
def subcommand_setup(_):
"""Setup apt preferences."""