diskimage-builder/diskimage_builder/elements/fedora-container
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
..
containerfiles Update Fedora to 37 2023-03-15 16:18:22 +11:00
environment.d Overwrite EFI grub.cfg when it exists 2024-04-17 14:21:03 +12:00
test-elements/build-succeeds Add fedora-containerfile element 2021-05-13 10:43:45 +10:00
README.rst Fix DISTRO_NAME in Fedora elements 2021-05-17 10:02:09 +10:00
element-deps Add fedora-containerfile element 2021-05-13 10:43:45 +10:00
package-installs.yaml fedora-container: pull in glibc-langpack-en 2022-02-04 09:15:17 +11:00
pkg-map fedora-container: install dnf-plugins-core 2021-07-07 11:02:10 +10:00

README.rst

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.