From f0ebf400b15e4c5703ec07af7030f1c5e67b86d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Mon, 15 Nov 2021 18:27:27 +0100 Subject: [PATCH] Change hardcoded with dynamic values (#3258) --- lib/build-all-ng.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build-all-ng.sh b/lib/build-all-ng.sh index 3044faa2b8..82a92bd45b 100644 --- a/lib/build-all-ng.sh +++ b/lib/build-all-ng.sh @@ -371,7 +371,7 @@ function build_all() IFS=',' read -r -a RELBRANCH <<< "${KERNEL_TARGET}" for BRANCH in "${RELBRANCH[@]}" do - RELTARGETS=(xenial stretch buster bullseye bionic focal hirsute sid) + RELTARGETS=($(ls -1d config/distributions/*/ | cut -d"/" -f3)) # we don't need to cycle all distributions when making u-boot package [[ $BOOTONLY == "yes" ]] && RELTARGETS=(focal) for RELEASE in "${RELTARGETS[@]}"