When creating the Capsule#### variable we should immediately update CapsuleLast.
After each reboot we must clear flag EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED in variable OsIndications. v3: clear EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED even after capsule update failure Heinrich Schuchardt (2): efi_loader: fix set_capsule_result() efi_loader: clear OsIndications lib/efi_loader/efi_capsule.c | 39 +++++++++++++++++++---------------- lib/efi_loader/efi_setup.c | 40 +++++++++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 19 deletions(-) -- 2.30.2