Blame SOURCES/0001-Set-guid-when-reading-boot-entries-in-read_vars.patch

c9eda1
From 272eeb462072976c58dbf2c3085e5a4c59576a15 Mon Sep 17 00:00:00 2001
c9eda1
From: Alexis Murzeau <amurzeau@gmail.com>
c9eda1
Date: Sat, 18 Apr 2015 23:03:23 +0200
c9eda1
Subject: [PATCH] Set guid when reading boot entries in read_vars.
c9eda1
c9eda1
set_active_state use boot->guid, so set it to EFI_GLOBAL_GUID.
c9eda1
---
c9eda1
 src/efibootmgr/efibootmgr.c | 1 +
c9eda1
 1 file changed, 1 insertion(+)
c9eda1
c9eda1
diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
c9eda1
index 4c682c1..ba25afa 100644
c9eda1
--- a/src/efibootmgr/efibootmgr.c
c9eda1
+++ b/src/efibootmgr/efibootmgr.c
c9eda1
@@ -123,6 +123,7 @@ read_vars(char **namelist,
c9eda1
 			entry->attributes = entry->attributes & ~(1 << 31);
c9eda1
 
c9eda1
 			entry->name = namelist[i];
c9eda1
+			entry->guid = EFI_GLOBAL_GUID;
c9eda1
 			list_add_tail(&entry->list, head);
c9eda1
 		}
c9eda1
 	}
c9eda1
-- 
c9eda1
2.4.3
c9eda1