summaryrefslogtreecommitdiffstats
path: root/pyanaconda/bootloader.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2012-09-19 16:34:41 -0400
committerPeter Jones <pjones@redhat.com>2012-09-19 16:58:55 -0400
commitdb69d955513b3d39628209e33f8a964c80c66aa2 (patch)
treebacff26dae4f73155c4b3a6576783a479e27302b /pyanaconda/bootloader.py
parentd420ba611f2fc748fc9656608e7523a3b5bc2044 (diff)
downloadanaconda-db69d955513b3d39628209e33f8a964c80c66aa2.tar.gz
anaconda-db69d955513b3d39628209e33f8a964c80c66aa2.tar.xz
anaconda-db69d955513b3d39628209e33f8a964c80c66aa2.zip
UEFI paths must include a leading backslash on some machines. (#856938)
Some machines require a leading backslash, some don't require it. None seem to break with it there.
Diffstat (limited to 'pyanaconda/bootloader.py')
-rw-r--r--pyanaconda/bootloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index b0aff48bf..16f984855 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":