[PATCH] Cast the blame appropriately when the kernel refuses efivars changes.
Peter Jones
pjones at redhat.com
Mon Feb 3 16:39:07 UTC 2014
There's nothing anaconda can do if the underlying API does not work, so
explain in the traceback that this isn't anaconda's fault.
Related: rhbz#959866
Related: rhbz#1009680
Signed-off-by: Peter Jones <pjones at redhat.com>
---
pyanaconda/bootloader.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index aa307c1..9906eaa 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1669,7 +1669,7 @@ class EFIGRUB(GRUB2):
rc = self.efibootmgr("-b", slot_id, "-B")
if rc:
- raise BootLoaderError("failed to remove old efi boot entry")
+ raise BootLoaderError("failed to remove old efi boot entry. This is most likely a kernel bug.")
@property
def efi_dir_as_efifs_dir(self):
@@ -1692,7 +1692,7 @@ class EFIGRUB(GRUB2):
"-l",
self.efi_dir_as_efifs_dir + "\\shim.efi")
if rc:
- raise BootLoaderError("failed to set new efi boot target")
+ raise BootLoaderError("failed to set new efi boot target. This is most likely a kernel bug.")
def install(self, args=None):
if not flags.leavebootorder:
--
1.8.5.3
More information about the anaconda-patches
mailing list