mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-10-09 11:56:37 +07:00
Update for h618
This commit is contained in:
@@ -280,7 +280,20 @@ if [[ -z $BRANCH ]]; then
|
||||
|
||||
fi
|
||||
|
||||
if [[ -z ${MEM_TYPE} && ${BOARD} =~ orangepizero3|orangepir1b|orangepizero2w && ${BUILD_OPT} =~ u-boot|image && ${BRANCH} == next ]]; then
|
||||
|
||||
options+=("1500MB" "1.5 GB Memory")
|
||||
options+=("Others" "1/2/4 GB Memory")
|
||||
|
||||
menustr="Please choose memory size for ${BOARD}."
|
||||
MEM_TYPE=$(whiptail --title "${titlestr}" --backtitle "${backtitle}" \
|
||||
--menu "${menustr}" "${TTY_Y}" "${TTY_X}" $((TTY_Y - 8)) \
|
||||
--cancel-button Exit --ok-button Select "${options[@]}" \
|
||||
3>&1 1>&2 2>&3)
|
||||
|
||||
unset options
|
||||
[[ -z $MEM_TYPE ]] && exit_with_error "No option selected"
|
||||
fi
|
||||
|
||||
if [[ $BUILD_OPT =~ rootfs|image && -z $RELEASE ]]; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user