16 lines
280 B
Bash
Executable file
16 lines
280 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
. ./build.sh
|
|
|
|
mkdir -p isodir
|
|
mkdir -p isodir/boot
|
|
mkdir -p isodir/boot/grub
|
|
|
|
cp sysroot/boot/fenix.kernel isodir/boot/fenix.kernel
|
|
cat > isodir/boot/grub/grub.cfg <<EOF
|
|
menuentry "fenix" {
|
|
multiboot /boot/fenix.kernel
|
|
}
|
|
EOF
|
|
grub-mkrescue -o fenix.iso isodir
|