uboot: Define timeout variable
It is possible to set a timeout for automatic bootloading via a variable.
This commit is contained in:
parent
ef342e7742
commit
d30083a857
@ -17,7 +17,9 @@ use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
|
|||||||
ifeq (,$(filter-out riscv64,$(ARCH)))
|
ifeq (,$(filter-out riscv64,$(ARCH)))
|
||||||
@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
|
@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
|
||||||
endif
|
endif
|
||||||
|
@$(call try,UBOOT_TIMEOUT,50)
|
||||||
@$(call xport,UBOOT_BOOTARGS)
|
@$(call xport,UBOOT_BOOTARGS)
|
||||||
|
@$(call xport,UBOOT_TIMEOUT)
|
||||||
else
|
else
|
||||||
use/uboot: ; @:
|
use/uboot: ; @:
|
||||||
endif
|
endif
|
||||||
|
@ -11,7 +11,7 @@ cat > /boot/extlinux/extlinux.conf << EOF
|
|||||||
menu title ALTLinux Boot Options
|
menu title ALTLinux Boot Options
|
||||||
|
|
||||||
default linux
|
default linux
|
||||||
timeout 70
|
timeout $GLOBAL_UBOOT_TIMEOUT
|
||||||
|
|
||||||
label linux
|
label linux
|
||||||
kernel /boot/vmlinuz
|
kernel /boot/vmlinuz
|
||||||
|
Loading…
Reference in New Issue
Block a user