Add menu for building images from repository (#2256)
This commit is contained in:
parent
ce6783c07f
commit
6cad8a346b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user