Skip to content

Commit 673d6dc

Browse files
author
pull clone
committed
Fix bootc disk layout and UEFI vendor hint
1 parent 4bf948f commit 673d6dc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
5151
cp -a "${EFIROOT}/EFI/BOOT/BOOTX64.EFI" /boot/efi/EFI/BOOT/BOOTX64.EFI 2>/dev/null || true; \
5252
fi; \
5353
\
54+
# Ensure osbuild detects the UEFI vendor (for ISO builds)
55+
mkdir -p /usr/lib/efi/shim/fedora/EFI/fedora || true; \
56+
\
5457
# Fix for bootc-image-builder: Populate EFI vendor directory so the builder detects 'fedora'
5558
mkdir -p /boot/efi/EFI/fedora || true; \
5659
cp /usr/share/shim/*/shimx64.efi /boot/efi/EFI/fedora/ 2>/dev/null || true; \

disk_config/disk.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[[customizations.filesystem]]
22
mountpoint = "/"
33
minsize = "20 GiB"
4+
5+
[[customizations.filesystem]]
6+
mountpoint = "/boot"
7+
minsize = "1 GiB"

0 commit comments

Comments
 (0)