Bootable multiboot2 kernel
This commit is contained in:
13
toolchain/setup-grub.sh
Executable file
13
toolchain/setup-grub.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p ${BUILDROOT}/sysroot/boot/grub
|
||||
|
||||
cat > ${BUILDROOT}/sysroot/boot/grub/grub.cfg << EOF
|
||||
set timeout=1
|
||||
set default=0
|
||||
|
||||
menuentry "mittos64" {
|
||||
multiboot2 /kernel
|
||||
}
|
||||
|
||||
EOF
|
||||
Reference in New Issue
Block a user