From b7dcf284c931b9967e938d7f356f377a325fc46b Mon Sep 17 00:00:00 2001 From: desertwitch <24509509+desertwitch@users.noreply.github.com> Date: Wed, 18 Feb 2026 10:58:13 +0100 Subject: [PATCH] chore(board): copy over 32-bit EFI for IMG --- board/shredos/make_img_file.sh | 6 ++---- board/shredos/make_iso_file.sh | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/board/shredos/make_img_file.sh b/board/shredos/make_img_file.sh index 97d692fb92..4bbc817b34 100755 --- a/board/shredos/make_img_file.sh +++ b/board/shredos/make_img_file.sh @@ -1,12 +1,10 @@ #!/bin/bash -e if grep -Eq "^BR2_ARCH_IS_64=y$" "${BR2_CONFIG}"; then - MKIMAGE_ARCH=x86_64 - MKIMAGE_EFI=bootx64.efi + MKIMAGE_ARCH=x86-64 MKIMAGE_CFG=genimage.cfg else MKIMAGE_ARCH=i686 - MKIMAGE_EFI=bootia32.efi MKIMAGE_CFG=genimage_i686.cfg fi @@ -14,7 +12,7 @@ version=$(cat board/shredos/fsoverlay/etc/shredos/version.txt) cp "board/shredos/grub.cfg" "${BINARIES_DIR}/grub.cfg" || exit 1 cp "output/target/lib/grub/i386-pc/boot.img" "${BINARIES_DIR}/boot.img" || exit 1 -cp "${BINARIES_DIR}/efi-part/EFI/BOOT/${MKIMAGE_EFI}" "${BINARIES_DIR}/${MKIMAGE_EFI}" || exit 1 +cp "${BINARIES_DIR}/efi-part/EFI/BOOT/bootia32.efi" "${BINARIES_DIR}/bootia32.efi" || exit 1 cp "${BINARIES_DIR}/efi-part/EFI/BOOT/bootx64.efi" "${BINARIES_DIR}/bootx64.efi" || exit 1 cp "board/shredos/autorun.inf" "${BINARIES_DIR}/autorun.inf" || exit 1 diff --git a/board/shredos/make_iso_file.sh b/board/shredos/make_iso_file.sh index d9068f1cd9..f81ff93c57 100755 --- a/board/shredos/make_iso_file.sh +++ b/board/shredos/make_iso_file.sh @@ -1,7 +1,7 @@ #!/bin/bash -e if grep -Eq "^BR2_ARCH_IS_64=y$" "${BR2_CONFIG}"; then - MKIMAGE_ARCH=x86_64 + MKIMAGE_ARCH=x86-64 else MKIMAGE_ARCH=i686 fi