nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0535-Define-GRUB_EFI_SHIM_LOCK_GUID.patch

bf0270
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
bf0270
From: Robbie Harwood <rharwood@redhat.com>
bf0270
Date: Wed, 11 May 2022 16:20:52 -0400
bf0270
Subject: [PATCH] Define GRUB_EFI_SHIM_LOCK_GUID
bf0270
bf0270
Added in f76a27996c34900f2c369a8a0d6ac72ae2faa988 ("efi: Make shim_lock
bf0270
GUID and protocol type public"), but that commit also manipulates the
bf0270
lock protocol definition and some other guids we don't care about right
bf0270
now.
bf0270
bf0270
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
bf0270
(cherry picked from commit e44d6f8e801fae4716dd2528d7194f759c52aa12)
bf0270
---
bf0270
 include/grub/efi/api.h | 5 +++++
bf0270
 1 file changed, 5 insertions(+)
bf0270
bf0270
diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h
bf0270
index 37e7b16287..2a243fd290 100644
bf0270
--- a/include/grub/efi/api.h
bf0270
+++ b/include/grub/efi/api.h
bf0270
@@ -349,6 +349,11 @@
bf0270
     { 0x86, 0x2e, 0xc0, 0x1c, 0xdc, 0x29, 0x1f, 0x44 } \
bf0270
   }
bf0270
 
bf0270
+#define GRUB_EFI_SHIM_LOCK_GUID \
bf0270
+  { 0x605dab50, 0xe046, 0x4300, \
bf0270
+    { 0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23 } \
bf0270
+   }
bf0270
+
bf0270
 struct grub_efi_sal_system_table
bf0270
 {
bf0270
   grub_uint32_t signature;