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

38ab4d
From c9599e12e736f4c4f09ca28e36f032a580c9bac9 Mon Sep 17 00:00:00 2001
c9eda1
From: Alexis Murzeau <amurzeau@gmail.com>
c9eda1
Date: Sat, 18 Apr 2015 23:03:23 +0200
38ab4d
Subject: [PATCH 25/31] 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
38ab4d
index 015bf65..b4417c8 100644
c9eda1
--- a/src/efibootmgr/efibootmgr.c
c9eda1
+++ b/src/efibootmgr/efibootmgr.c
38ab4d
@@ -120,6 +120,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
-- 
38ab4d
2.7.4
c9eda1