From 9282a2c45806566bb3da58b228fc02b044ba67d3 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Tue, 22 Sep 2020 19:11:59 +0200 Subject: [PATCH] Change release order when building in interactive mode. Most recommended first. 1. Focal 2. Buster . . --- lib/main.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/main.sh b/lib/main.sh index 98008c6c3c..b773890137 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -299,13 +299,13 @@ if [[ $KERNEL_ONLY != yes && -z $RELEASE ]]; then options=() - distro_menu "stretch" - distro_menu "buster" - distro_menu "bullseye" - distro_menu "xenial" - distro_menu "bionic" - distro_menu "eoan" distro_menu "focal" + distro_menu "buster" + distro_menu "bionic" + distro_menu "bullseye" + distro_menu "stretch" + distro_menu "xenial" + RELEASE=$(dialog --stdout --title "Choose a release" --backtitle "$backtitle" \ --menu "Select the target OS release package base" $TTY_Y $TTY_X $((TTY_Y - 8)) "${options[@]}")