script.sh 348 B

1234567891011121314
  1. #!/bin/sh
  2. #script for building kernel and iso image
  3. rm -r iso_root/yerbaos.elf
  4. rm -r image.iso
  5. make clean
  6. make
  7. cp -v yerbaos.elf iso_root/
  8. xorriso -as mkisofs -b limine-cd.bin -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e limine-eltorito-efi.bin -no-emul-boot iso_root -o image.iso
  9. qemu-system-x86_64 -cdrom image.iso