Skip to content

Fix errors when no boot state backend has been found

Frederic Danis requested to merge wip/fdanis/6903 into apertis/v2021dev3

Current asserts on AumBootState object in aum_boot_state_*() functions ends up when there is no boot state backend available, i.e. for UEFI AMD64 targets, by trying to rollback the OS.
Replacing those asserts by tests returning default values allows AUM to handle this case gracefully and with better debug message.

Signed-off-by: Frédéric Danis frederic.danis@collabora.com

Edited by Frederic Danis

Merge request reports

Loading