Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (29 sloc) 1.23 KB
diff --git a/imgcreate/live.py b/imgcreate/live.py
index 25bc9e0..83e5298 100755
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -235,9 +235,6 @@ class LiveImageCreatorBase(LoopImageCreator):
def _generate_efiboot(self, isodir):
"""Generate EFI boot images."""
- if not glob.glob(self._instroot+"/boot/efi/EFI/*/shim.efi"):
- logging.error("Missing shim.efi, skipping efiboot.img creation.")
- return
# XXX-BCL: does this need --label?
subprocess.call(["mkefiboot", isodir + "/EFI/BOOT",
@@ -711,14 +708,12 @@ menu end
""" Copy the efi files into /EFI/BOOT/
If any of them are missing, return False.
requires:
- shim.efi
- gcdx64.efi
+ gcdia32.efi
fonts/unicode.pf2
"""
fail = False
missing = []
- files = [("/boot/efi/EFI/*/shim.efi", "/EFI/BOOT/BOOT%s.EFI" % (self.efiarch,)),
- ("/boot/efi/EFI/*/gcdx64.efi", "/EFI/BOOT/grubx64.efi"),
+ files = [("/boot/efi/EFI/*/gcdia32.efi", "/EFI/BOOT/BOOTIA32.efi"),
("/boot/efi/EFI/*/fonts/unicode.pf2", "/EFI/BOOT/fonts/"),
]
makedirs(isodir+"/EFI/BOOT/fonts/")
You can’t perform that action at this time.