Using the Grub bootloader for OTA updates
grub-editenv
binary available on the path.
After performing a filesystem update, our Update Client will then direct the bootloader to perform a tentative boot on the partion a
or b
. After the system boots up, our update client will verify that the system started accordingly, and set the new partition as the default boot partition.
grub.cfg
. This snippet will be used to determine the partition to boot from.