mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-09-13 22:01:48 +00:00
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 <itxaka.garcia@spectrocloud.com>
This commit is contained in:
@@ -38,7 +38,7 @@ mkdir -p $WORKDIR/tmpefi
|
|||||||
|
|
||||||
# Create the EFI partition FAT16 and include the EFI image and a basic grub.cfg
|
# Create the EFI partition FAT16 and include the EFI image and a basic grub.cfg
|
||||||
truncate -s $((20*1024*1024)) bootloader/efi.img
|
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
|
mkfs.fat -F16 -n COS_GRUB bootloader/efi.img
|
||||||
mcopy -s -i bootloader/efi.img $WORKDIR/tmpefi/EFI ::EFI
|
mcopy -s -i bootloader/efi.img $WORKDIR/tmpefi/EFI ::EFI
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user