nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0540-Define-GRUB_EFI_SHIM_LOCK_GUID.patch

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