From 66b02381463e2a8964fad889da61aef1418e58da Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Mon, 28 Dec 2020 11:26:32 -0500 Subject: [PATCH] upgrades: Ensure freedombox package is upgraded during dist upgrade Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- actions/upgrades | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/actions/upgrades b/actions/upgrades index c54f81c5b..f38d8538f 100755 --- a/actions/upgrades +++ b/actions/upgrades @@ -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."""