Update the recovery struct to include try_recovery_system and
recovery_system_status.
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Also rename SNAP_BOOTSELECT_RUN_SIGNATURE to SNAP_BOOTSELECT_SIGNATURE_RUN to
match SNAP_BOOTSELECT_SIGNATURE_RECOVERY and update comment to clarify that
SNAP_BOOTSELECT_SIGNATURE_RUN is the same as SNAP_BOOTSELECT_SIGNATURE.
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
These include files will be used by bootloader implementations which marshal/
unmarshal these structures from partitions to communicate bootenv from snapd
to the bootloader and vice-versa.
These structures could be included in the original V1 struct by taking advantage
of the extra padding in the struct, but this would complicate using the struct,
as bootloader implementations would need to be coded to validate that the right
keys were being used, etc. for one version or another.
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>