We actually have a new workaround now that should be a bit better than trying to guess an arbitrary delay.
You’ll want to create a new configuration file for Aktualizr as specified here: Aktualizr - Modifying the Settings of Torizon Update Client | Toradex Developer Center
The contents of this configuration file should look something like this:
[uptane]
force_install_completion = true
This enables a different reboot mechanism than what is currently used. With this the system should only reboot after all components in an update are done installing (i.e. docker-compose and OS). There are some minor bugs currently that make this method take a bit longer than it should before the system reboots. But these aren’t breaking bugs and only delay the reboot by a bit (on the scale of a few minutes).
Once that is done you need to also disable the current problematic reboot mechanism as shown here: Aktualizr - Modifying the Settings of Torizon Update Client | Toradex Developer Center
Best Regards,
Jeremias