diff options
author | Marvin Borner | 2020-04-25 23:53:19 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-25 23:53:19 +0200 |
commit | 69d08dcb4580f8e544464bf54432ab07a7f58fc6 (patch) | |
tree | 878d35b5d3e3fac8f1c8e2a043519658d440f350 /run | |
parent | f2175ab40a977d15526e7ebc3ad327e3ef825069 (diff) |
Small cleanup and formatting
Diffstat (limited to 'run')
-rwxr-xr-x | run | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -105,6 +105,14 @@ make_build() { cp ./src/bootloader/grub.cfg ./iso/boot/grub/ grub-mkrescue -o ./build/melvix.iso ./iso/ + # Check ISO + if grub-file --is-x86-multiboot2 ./build/kernel.bin; then + echo "Multiboot confirmed" + else + echo "Kernel is corrupted!" + exit 1 + fi + # Create disk image make_genext2fs mkdir ./mnt/ |