From bbd6d009f820fa22a4298f637b399add26c8cf85 Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Sun, 3 May 2026 21:16:36 +0300 Subject: [PATCH] Avoid EFI image overflow when syncing GRUB theme --- iso/builder/build.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/iso/builder/build.sh b/iso/builder/build.sh index 02f5785..e8579d7 100755 --- a/iso/builder/build.sh +++ b/iso/builder/build.sh @@ -888,14 +888,9 @@ sync_efi_grub_theme_assets() { echo "bootloader sync: patching EFI GRUB image $img" mmd -i "$img" "::/boot" >/dev/null 2>&1 || true mmd -i "$img" "::/boot/grub" >/dev/null 2>&1 || true - mmd -i "$img" "::/boot/grub/live-theme" >/dev/null 2>&1 || true copy_file_to_fat_image "$img" "${BUILDER_DIR}/config/bootloaders/grub-efi/config.cfg" "::/boot/grub/config.cfg" copy_file_to_fat_image "$img" "${BUILDER_DIR}/config/bootloaders/grub-efi/theme.cfg" "::/boot/grub/theme.cfg" - for asset in "${BUILDER_DIR}"/config/bootloaders/grub-efi/live-theme/*; do - [ -f "$asset" ] || continue - copy_file_to_fat_image "$img" "$asset" "::/boot/grub/live-theme/" - done fat_image_has_file "$img" "::/boot/grub/config.cfg" || { echo "ERROR: EFI GRUB image missing /boot/grub/config.cfg after sync: $img" >&2 @@ -905,14 +900,6 @@ sync_efi_grub_theme_assets() { echo "ERROR: EFI GRUB image missing /boot/grub/theme.cfg after sync: $img" >&2 exit 1 } - fat_image_has_file "$img" "::/boot/grub/live-theme/theme.txt" || { - echo "ERROR: EFI GRUB image missing /boot/grub/live-theme/theme.txt after sync: $img" >&2 - exit 1 - } - fat_image_has_file "$img" "::/boot/grub/live-theme/bee-logo.tga" || { - echo "ERROR: EFI GRUB image missing /boot/grub/live-theme/bee-logo.tga after sync: $img" >&2 - exit 1 - } done if [ "$found" != "1" ]; then