Stefan Agner aaa55848de
Implement A/B switch when moving back to Barebox (#1794)
* Implement manual boot switch when downgrading to Barebox

When installing OS 7 or older from a OS 8 installation, the bootloader
is changed back to Barebox. However, in this case Barebox does not know
which boot slot is correct (and rauc won't update Barebox' state as it
is configured to work with GRUB in OS 8+).

This implements a poor mans version to switch the boot partition. It
clears Barebox state and deploys one of the two pre-configured default
states, booting either boot slot A or B.
2022-03-23 16:00:49 +01:00
..
2021-04-29 01:15:47 +02:00