Steve Baker c03e46d9e1 Overwrite EFI grub.cfg when it exists
Currently a partition image with existing EFI assets may produce an
invalid image because the EFI grub.cfg may reference a partition UUIDs
that don't exist in the partition image case.

This change replaces the EFI grub.cfg if the EFI directory exists at
all, ensuring the EFI grub.cfg is valid in more cases.

Also, add missing EFI_BOOT_DIR for fedora-container element.

Change-Id: Id4f8cd2cb16bbb1a392f531cf5b8455f81162c42
2024-04-17 14:21:03 +12:00
..
2023-03-15 16:18:22 +11:00
2021-05-13 10:43:45 +10:00
2021-05-17 10:02:09 +10:00

fedora-container

Create a minimal image based on Fedora container image

This element sets the DISTRO_NAME var to 'fedora'. The release of fedora to be installed can be controlled through the DIB_RELEASE variable, which defaults the latest supported release.