Fixed copying of output file when creating ISO.
This commit is contained in:
parent
f375ef47c5
commit
de9e71bbb0
@ -46,7 +46,7 @@ task "check-multiboot", "Checks the grub multiboot header.":
|
||||
task "build-disc", "Creates an ISO with the GRUB bootloader.":
|
||||
removeDir("isodir")
|
||||
createDir("isodir/boot/grub")
|
||||
copyFile("myos.bin", "isodir/boot/kernel")
|
||||
copyFile(outputFile, "isodir/boot/kernel")
|
||||
copyFile("grub.cfg", "isodir/boot/grub/grub.cfg")
|
||||
if not shell("grub-mkrescue -o ", outputIso, " isodir"):
|
||||
direShell("grub2-mkrescue -o ", outputIso, " isodir")
|
||||
|
Loading…
Reference in New Issue
Block a user