Fix src files not copying to tmp uefi iso dir.

This commit is contained in:
TomAwezome 2022-08-22 06:06:07 -04:00
parent e6ca68c2e2
commit 2d332d1878

View file

@ -70,14 +70,16 @@ echo "Rebuilding kernel..."
qemu-system-x86_64 -machine q35,accel=kvm -drive format=raw,file=$TMPDISK -m 1G -rtc base=localtime -device isa-debug-exit
mount_tempdisk
sudo cp -r $TMPMOUNT $TMPISODIR
sudo cp limine/limine-cd-efi.bin $TMPISODIR/
sudo cp limine/limine-cd.bin $TMPISODIR/
sudo cp limine/limine.sys $TMPISODIR/
sudo cp $TMPMOUNT/limine.cfg $TMPISODIR/limine.cfg
sudo cp ../zealbooter/zealbooter.elf $TMPISODIR/Boot/ZealBooter.ELF
sudo cp -rf $TMPMOUNT/* $TMPISODIR
sudo cp -rf ../zealbooter/zealbooter.elf $TMPISODIR/Boot/ZealBooter.ELF
umount_tempdisk
sudo ls $TMPISODIR -al
xorriso -as mkisofs -b limine-cd.bin \
-no-emul-boot -boot-load-size 4 -boot-info-table \
--efi-boot limine-cd-efi.bin \
@ -101,5 +103,6 @@ qemu-system-x86_64 -machine q35,accel=kvm -m 1G -rtc base=localtime -bios ovmf/O
echo "Deleting temp folder..."
sudo rm -rf $TMPDIR
sudo rm -rf $TMPISODIR
echo "Finished."