[PATCH] UEFI paths must include a leading backslash on some machines. (#856938)

Peter Jones pjones at redhat.com
Wed Sep 19 20:35:51 UTC 2012


Some machines require a leading backslash, some don't require it.  None
seem to break with it there.
---
 pyanaconda/bootloader.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index b0aff48..16f9848 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1594,7 +1594,7 @@ class EFIGRUB(GRUB2):
     @property
     def efi_dir_as_efifs_dir(self):
         ret = self._config_dir.replace('efi/', '')
-        return ret.replace('/', '\\')
+        return "\\" + ret.replace('/', '\\')
 
     def add_efi_boot_target(self):
         if self.stage1_device.type == "partition":
-- 
1.7.11.4



More information about the anaconda-patches mailing list