From 2996f21dfad84c859ef300c389acb76165abf25f Mon Sep 17 00:00:00 2001 From: Itxaka Date: Mon, 31 Jul 2023 16:30:15 +0200 Subject: [PATCH] Fix missing dir for amr artifacts It was using the default one which provides grub artifacts for the current arch, not specific arm64 ones for the arm images Signed-off-by: Itxaka --- tools-image/prepare_arm_images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools-image/prepare_arm_images.sh b/tools-image/prepare_arm_images.sh index e33db47..96824d8 100755 --- a/tools-image/prepare_arm_images.sh +++ b/tools-image/prepare_arm_images.sh @@ -38,7 +38,7 @@ mkdir -p $WORKDIR/tmpefi # Create the EFI partition FAT16 and include the EFI image and a basic grub.cfg truncate -s $((20*1024*1024)) bootloader/efi.img -cp -rfv /efi/* $WORKDIR/tmpefi +cp -rfv /arm/raw/grub/* $WORKDIR/tmpefi mkfs.fat -F16 -n COS_GRUB bootloader/efi.img mcopy -s -i bootloader/efi.img $WORKDIR/tmpefi/EFI ::EFI