Add menu for building images from repository (#2256)

This commit is contained in:
Igor Pečovnik 2020-10-15 21:55:56 +02:00 committed by GitHub
parent ce6783c07f
commit 6cad8a346b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,6 +151,7 @@ if [[ -z $KERNEL_CONFIGURE ]]; then
options+=("no" "Do not change the kernel configuration")
options+=("yes" "Show a kernel configuration menu before compilation")
options+=("prebuilt" "Use precompiled packages from Armbian repository")
KERNEL_CONFIGURE=$(dialog --stdout --title "Choose an option" --backtitle "$backtitle" --no-tags \
--menu "Select the kernel configuration" $TTY_Y $TTY_X $((TTY_Y - 8)) "${options[@]}")
unset options
@ -158,6 +159,8 @@ if [[ -z $KERNEL_CONFIGURE ]]; then
fi
[[ ${KERNEL_CONFIGURE} == prebuilt ]] && REPOSITORY_INSTALL="u-boot,kernel,bsp,armbian-config,armbian-firmware"
if [[ -z $BOARD ]]; then
WIP_STATE=supported