Grub: change default timeout
This commit is contained in:
parent
01d54dea85
commit
63757b1e0c
2
Makefile
2
Makefile
@ -38,7 +38,7 @@ kernel kernel.debug &: $(asmobj) $(gasmobj) $(cobj) linker.ld
|
|||||||
fd.iso: kernel
|
fd.iso: kernel
|
||||||
mkdir -p isodir/boot/grub
|
mkdir -p isodir/boot/grub
|
||||||
cp $< isodir/boot/
|
cp $< isodir/boot/
|
||||||
@printf "menuentry \"myos\" {\n\tmultiboot /boot/kernel\n}" > isodir/boot/grub/grub.cfg
|
@printf "set timeout=0\nset default=0\nmenuentry \"matos\" {\n\tmultiboot /boot/kernel\n}" > isodir/boot/grub/grub.cfg
|
||||||
grub-mkrescue -o $@ isodir
|
grub-mkrescue -o $@ isodir
|
||||||
|
|
||||||
userspace: FORCE
|
userspace: FORCE
|
||||||
|
Loading…
Reference in New Issue
Block a user