Re: [PATCH v2 2/2] efi_loader: clear OsIndications

2021-06-30 Thread Ilias Apalodimas
Hi Heinrich, > if (IS_ENABLED(CONFIG_EFI_CAPSULE_ON_DISK) && [...] > !IS_ENABLED(CONFIG_EFI_CAPSULE_ON_DISK_EARLY)) > ret = efi_launch_capsules(); > + if (ret != EFI_SUCCESS) > + goto out; > + I think OsIndications should be cleared reagrdless of t

[PATCH v2 2/2] efi_loader: clear OsIndications

2021-06-30 Thread Heinrich Schuchardt
After each reboot we must clear flag EFI_OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED in variable OsIndications. Signed-off-by: Heinrich Schuchardt --- v2: update OsIndications after handling all capsules --- lib/efi_loader/efi_setup.c | 33 + 1 file cha