fix(build.sh): generate efiboot.img

This commit is contained in:
Marcos Tischer Vallim 2024-09-02 21:42:20 -03:00 committed by GitHub
parent bf0ac557e5
commit 89cd99775e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ EOF
cd isolinux && \
sudo dd if=/dev/zero of=efiboot.img bs=1M count=10 && \
LOOP_DEVICE=`sudo losetup --find --show $PWD/efiboot.img` && \
sudo mkfs.vfat -F 32 $LOOP_DEVICE && \
sudo mkfs.vfat -F 16 $LOOP_DEVICE && \
sudo mkdir efi && \
sudo mount $LOOP_DEVICE efi && \
sudo grub-install --target=x86_64-efi --efi-directory=efi --uefi-secure-boot --removable --no-nvram $LOOP_DEVICE && \