mirror of
https://github.com/mvallim/live-custom-ubuntu-from-scratch.git
synced 2025-07-29 12:36:38 +00:00
fix(build.sh): generate efiboot.img
This commit is contained in:

committed by
GitHub

parent
9196b7802f
commit
d5623e8596
@ -227,7 +227,7 @@ EOF
|
||||
cd isolinux && \
|
||||
dd if=/dev/zero of=efiboot.img bs=1M count=10 && \
|
||||
sudo mkfs.vfat efiboot.img && \
|
||||
LOOP_DEVICE=`losetup --find --show $PWD/efiboot.img` && \
|
||||
LOOP_DEVICE=`sudo losetup --find --show $PWD/efiboot.img` && \
|
||||
mkdir efi && \
|
||||
sudo mount $LOOP_DEVICE efi && \
|
||||
sudo grub-install --efi-directory=efi --uefi-secure-boot --removable --no-nvram $LOOP_DEVICE && \
|
||||
|
Reference in New Issue
Block a user