Set argv[0] when loading with GRUB
This commit is contained in:
parent
5242e8d78a
commit
62a8cc514f
|
@ -88,7 +88,7 @@ _iso()
|
||||||
$DEBUG $INSTALL -m 0644 "$ULOADERBIN" "$tmpdir/boot/uLoader.bin"
|
$DEBUG $INSTALL -m 0644 "$ULOADERBIN" "$tmpdir/boot/uLoader.bin"
|
||||||
$CAT > "$tmpdir/boot/grub/grub.cfg" << EOF
|
$CAT > "$tmpdir/boot/grub/grub.cfg" << EOF
|
||||||
menuentry "DeforaOS" {
|
menuentry "DeforaOS" {
|
||||||
multiboot /boot/uKernel.bin
|
multiboot /boot/uKernel.bin uKernel
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
$DEBUG $GRUBMKRESCUE -o "$target" "$tmpdir"
|
$DEBUG $GRUBMKRESCUE -o "$target" "$tmpdir"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user