Commit d30083a8 authored by Anton Midyukov's avatar Anton Midyukov

uboot: Define timeout variable

It is possible to set a timeout for automatic bootloading via a variable.
parent ef342e77
......@@ -17,7 +17,9 @@ use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
ifeq (,$(filter-out riscv64,$(ARCH)))
@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
endif
@$(call try,UBOOT_TIMEOUT,50)
@$(call xport,UBOOT_BOOTARGS)
@$(call xport,UBOOT_TIMEOUT)
else
use/uboot: ; @:
endif
......@@ -11,7 +11,7 @@ cat > /boot/extlinux/extlinux.conf << EOF
menu title ALTLinux Boot Options
default linux
timeout 70
timeout $GLOBAL_UBOOT_TIMEOUT
label linux
kernel /boot/vmlinuz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment