Set argv[0] when loading with GRUB

This commit is contained in:
Pierre Pronchery 2019-04-28 03:35:09 +02:00
parent 5242e8d78a
commit 62a8cc514f

View File

@ -88,7 +88,7 @@ _iso()
$DEBUG $INSTALL -m 0644 "$ULOADERBIN" "$tmpdir/boot/uLoader.bin"
$CAT > "$tmpdir/boot/grub/grub.cfg" << EOF
menuentry "DeforaOS" {
multiboot /boot/uKernel.bin
multiboot /boot/uKernel.bin uKernel
}
EOF
$DEBUG $GRUBMKRESCUE -o "$target" "$tmpdir"