update_kernel: Add option to update kernel in the alternate boot slot
The kernel in the non-booting slot can be updated by using the --partition and
--rootfs options. However, this is a little tedious to discover what the
current kernel is and set the options appropriately. Add an option to do
this automatically, for lazy people like me.
TEST=Use --ab_update in combination with the "Chrome OS failsafe kernel
flashing" doc to boot 5.10 on grunt.
Commit-Queue: Anand K Mistry <firstname.lastname@example.org>
Tested-by: Anand K Mistry <email@example.com>
Reviewed-by: Tomasz Figa <firstname.lastname@example.org>
Reviewed-by: Nicolas Boichat <email@example.com>
1 file changed