Project

General

Profile

Actions

Bug #21490

open

Missing EFI file (/boot/efi/EFI/*/gcdx64.efi)

Added by Mr Oleg Mcnoleg over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Image
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Building a CentOS discovery iso on a CentOS 7.2 host shows the below after running build-livecd then build-livecd

I have the below in my 20-packages.ks

grub2-efi
efibootmgr
shim

Missing EFI file (/boot/efi/EFI/*/gcdx64.efi)
 Failed to copy EFI files, no EFI Support will be included.
 usage: mkefiboot [-h] [--debug] [-d] [-a] [-l LABEL] [-i ICONFILE]
                  [-n DISKNAME] [-p PRODUCT]
                  EFIBOOTDIR OUTPUTFILE
 mkefiboot: error: /tmp/imgcreate-1xfrZU/iso-E4oXxM/EFI/BOOT is not a directory
 usage: mkefiboot [-h] [--debug] [-d] [-a] [-l LABEL] [-i ICONFILE]
                  [-n DISKNAME] [-p PRODUCT]
                  EFIBOOTDIR OUTPUTFILE
 mkefiboot: error: /tmp/imgcreate-1xfrZU/iso-E4oXxM/EFI/BOOT is not a directory
  * ensure /etc/os-release is present (needed for RHEL 7.0)

This issue was raised via the Foreman User Group, I was advised to raise a PR to add the files to the official build.

Thanks,

Actions #1

Updated by Lukas Zapletal over 6 years ago

Hey, can you file a PR into https://github.com/theforeman/foreman-discovery-image with this change please? Name the commit "Fixes #21490 - added grub2 efi files" and I will merge quickly. Otherwise I will need to do the patch and wait for review. This works, I tested it already.

Actions #2

Updated by Lukas Zapletal over 6 years ago

  • Category changed from Discovery plugin to Image
  • Difficulty set to trivial
Actions

Also available in: Atom PDF