From 5de9176a1bf9ae7e21c0f7e6293e3b3293d98fff Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 13 Sep 2012 07:32:22 -0700 Subject: [PATCH] not copying UEFI files shouldn't be fatal (#856893) This reverts the change that made copying EFI files fatal and instead logs a warning that UEFI won't be supported on the image. (cherry picked from commit 80b3559390d84cb43b68d280b6dbf617b684f64a) --- imgcreate/live.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imgcreate/live.py b/imgcreate/live.py index 528d885..c5f757c 100755 --- a/imgcreate/live.py +++ b/imgcreate/live.py @@ -804,7 +804,8 @@ search --no-floppy --set=root -l '%(isolabel)s' """Set up the configuration for an EFI bootloader""" if self.__copy_efi_files(isodir): shutil.rmtree(isodir + "/EFI") - raise CreatorError("Failed to copy EFI files") + logging.warn("Failed to copy EFI files, no EFI Support will be included.") + return cfg = self.__get_basic_efi_config(isolabel = self.fslabel, timeout = self._timeout) -- 2.11.4.GIT