Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
randompersononinternet69 authored Jun 17, 2024
1 parent e3b6954 commit 633b5b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ cp grubfm.elf build/
touch build/ventoy.dat
xorriso -as mkisofs -l -R -hide-joliet boot.catalog -b fmldr -no-emul-boot -allow-lowercase -boot-load-size 4 -boot-info-table -o grubfm.iso build

echo making efi.img using files in the EFI directory
dd if=/dev/zero of=build/efi.img bs=1M count=16
mkfs.vfat build/efi.img
mmd -i build/efi.img ::EFI
Expand All @@ -260,3 +261,4 @@ mcopy -i build/efi.img g2fmia32.efi ::EFI/BOOT/BOOTIA32.EFI
xorriso -as mkisofs -l -R -hide-joliet boot.catalog -b fmldr -no-emul-boot -allow-lowercase -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e efi.img -no-emul-boot -o g2fm_multiarch.iso build

rm -r build
echo Done!

0 comments on commit 633b5b9

Please sign in to comment.