livecd-tools / livecd-tools

Tools for building live CDs using DNF
GNU General Public License v2.0
227 stars 113 forks source link

Disable EFI ? #261

Open Shadok opened 1 year ago

Shadok commented 1 year ago

Hello,

Is there a way to disable efi while creating an livecd iso ?

Altough i don't specify anything about efi and don't install any related package, i still have this during the process :

Missing EFI file (/boot/efi/EFI/*/shimx64.efi)
Missing EFI file (/boot/efi/EFI/*/gcdx64.efi)
Failed to copy EFI files, no EFI Support will be included.
Missing initial EFI bootloader, skipping efiboot.img creation.
usage: mkefiboot [-h] [--debug] [-d] [-a] [-l LABEL] [-i ICONFILE]
                 [-n DISKNAME] [-p PRODUCT]
                 EFIBOOTDIR OUTPUTFILE
mkefiboot: error: /opt/livecd/tmp/imgcreate-g5g5u6me/iso-lmxp5pjg/EFI/BOOT is not a directory

I don't use efi (our servers don't support it, so our os masters don't either).

Thanks

sobjerke commented 6 months ago

The missing files are in grub2-efi-x64-cdboot and shim-x64. These RPMs should not harm a non-EFI server.

Shadok commented 6 months ago

Indeed, the iso works, the point is just to avoid the non-blocking error in the output.