From c5ea3a39f904d5face45d352c45cdecd36561f57 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Fri, 2 Oct 2020 16:23:35 -0500 Subject: [PATCH] trivial: uefi: quiet down debugging messages With how well fwupd UEFI updates work these days >99% of people don't need to see messages about the capsule update running. Those who have problems, this isn't going to help them. --- plugins/uefi/efi/fwupdate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/uefi/efi/fwupdate.c b/plugins/uefi/efi/fwupdate.c index d500a28da..f8248b926 100644 --- a/plugins/uefi/efi/fwupdate.c +++ b/plugins/uefi/efi/fwupdate.c @@ -155,7 +155,7 @@ fwup_populate_update_table(FWUP_UPDATE_TABLE **updates, UINTN *n_updates_out) continue; } - fwup_info(L"Found update %s", variable_name); + fwup_debug(L"Found update %s", variable_name); _cleanup_update_table FWUP_UPDATE_TABLE *update = fwup_malloc0(sizeof(FWUP_UPDATE_TABLE)); if (update == NULL) return EFI_OUT_OF_RESOURCES; @@ -574,7 +574,7 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *systab) if (cbd_data == NULL) return EFI_OUT_OF_RESOURCES; for (i = 0; i < n_updates; i++) { - fwup_info(L"Adding new capsule"); + fwup_debug(L"Adding new capsule"); rc = fwup_add_update_capsule(updates[i], &capsules[j], &cbd_data[j], image); if (EFI_ERROR(rc)) { /* ignore a failing capsule */