[PATCH] UEFI paths must include a leading backslash on some machines. (#856938)
Jesse Keating
jkeating at redhat.com
Wed Sep 19 20:48:13 UTC 2012
On 09/19/2012 01:35 PM, Peter Jones wrote:
> 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":
>
Yay EFI. So much better than bios!
ACK.
--
Jesse Keating
Fedora -- FreedomĀ² is a feature!
More information about the anaconda-patches
mailing list