Blame SOURCES/0001-Don-t-check-for-bootnext-existing-until-we-ve-read-t.patch

c9eda1
From 7178a860614979e16ba9895aee46654574de7485 Mon Sep 17 00:00:00 2001
c9eda1
From: Peter Jones <pjones@redhat.com>
c9eda1
Date: Thu, 9 Jul 2015 13:06:42 -0400
c9eda1
Subject: [PATCH] Don't check for bootnext existing until we've read the
c9eda1
 variables.
c9eda1
c9eda1
Resolves: rhbz#1241411
c9eda1
c9eda1
Signed-off-by: root <root@localhost.localdomain>
c9eda1
---
c9eda1
 src/efibootmgr/efibootmgr.c | 6 ------
c9eda1
 1 file changed, 6 deletions(-)
c9eda1
c9eda1
diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
c9eda1
index b4417c8..4fe0448 100644
c9eda1
--- a/src/efibootmgr/efibootmgr.c
c9eda1
+++ b/src/efibootmgr/efibootmgr.c
c9eda1
@@ -1177,12 +1177,6 @@ parse_opts(int argc, char **argv)
c9eda1
 					result);
c9eda1
 				exit(1);
c9eda1
 			}
c9eda1
-			if (!is_current_boot_entry(result)) {
c9eda1
-				fprintf(stderr,
c9eda1
-					"Boot entry %04lX does not exist\n",
c9eda1
-					result);
c9eda1
-				exit(1);
c9eda1
-			}
c9eda1
 			opts.bootnext = result;
c9eda1
 			break;
c9eda1
 		}
c9eda1
-- 
c9eda1
1.8.3.1
c9eda1