To limit responsibility or those functions and to keep the tests passing
(because they assumed no sanitization)
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
* Track active/passive boot for upgrade workflow
Track what are we booting from during upgrade in order to not backup
active into passive if we are booting from passive.
If we are booting from active or recovery the workflow keeps as it was,
backup active into passive, and then move the transition image into
active.
Signed-off-by: Itxaka <itxaka@kairos.io>