diff --git a/lib/main.sh b/lib/main.sh index 70b19486d6..8c62c4d21c 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -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