diff options
| author | Peter Jones <pjones@redhat.com> | 2013-10-03 11:01:36 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-10-03 11:11:09 -0400 |
| commit | fc986307fb200fdf493b9dd083ad39ae3561b0c9 (patch) | |
| tree | d1ad0bc3618b4fb85d1972a2ee197a1611c4daca /shim.c | |
| parent | d83213cec3b1cd59a442f1f3fe8fec7c10936fed (diff) | |
| download | efi-boot-shim-fc986307fb200fdf493b9dd083ad39ae3561b0c9.tar.gz efi-boot-shim-fc986307fb200fdf493b9dd083ad39ae3561b0c9.zip | |
Add ident-like blobs to shim.efi for version checking.
I feel dirty.
Diffstat (limited to 'shim.c')
| -rw-r--r-- | shim.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -48,6 +48,7 @@ #include "efiauthenticated.h" #include "security_policy.h" #include "console.h" +#include "version.h" #define FALLBACK L"\\fallback.efi" #define MOK_MANAGER L"\\MokManager.efi" @@ -1668,6 +1669,9 @@ EFI_STATUS efi_main (EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *passed_systab) if (!EFI_ERROR(efi_status)) verbose = verbose_check; + if (verbose) + console_notify_ascii(shim_version); + /* Set the second stage loader */ set_second_stage (image_handle); |
