mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 23:36:32 +00:00
Fix src files not copying to tmp uefi iso dir.
This commit is contained in:
parent
e6ca68c2e2
commit
2d332d1878
1 changed files with 5 additions and 2 deletions
|
@ -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
|
qemu-system-x86_64 -machine q35,accel=kvm -drive format=raw,file=$TMPDISK -m 1G -rtc base=localtime -device isa-debug-exit
|
||||||
|
|
||||||
mount_tempdisk
|
mount_tempdisk
|
||||||
sudo cp -r $TMPMOUNT $TMPISODIR
|
|
||||||
sudo cp limine/limine-cd-efi.bin $TMPISODIR/
|
sudo cp limine/limine-cd-efi.bin $TMPISODIR/
|
||||||
sudo cp limine/limine-cd.bin $TMPISODIR/
|
sudo cp limine/limine-cd.bin $TMPISODIR/
|
||||||
sudo cp limine/limine.sys $TMPISODIR/
|
sudo cp limine/limine.sys $TMPISODIR/
|
||||||
sudo cp $TMPMOUNT/limine.cfg $TMPISODIR/limine.cfg
|
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
|
umount_tempdisk
|
||||||
|
|
||||||
|
sudo ls $TMPISODIR -al
|
||||||
|
|
||||||
xorriso -as mkisofs -b limine-cd.bin \
|
xorriso -as mkisofs -b limine-cd.bin \
|
||||||
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
-no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||||
--efi-boot limine-cd-efi.bin \
|
--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..."
|
echo "Deleting temp folder..."
|
||||||
sudo rm -rf $TMPDIR
|
sudo rm -rf $TMPDIR
|
||||||
|
sudo rm -rf $TMPISODIR
|
||||||
echo "Finished."
|
echo "Finished."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue