From ceed97c57b42de7f641ac40d9a30e358d824cd66 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sat, 2 Mar 2024 13:15:24 +0100 Subject: [PATCH] prepare-host/host-release: enable noble for building; noble also doesn't have python2 anymore --- lib/functions/host/host-release.sh | 2 +- lib/functions/host/prepare-host.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions/host/host-release.sh b/lib/functions/host/host-release.sh index 1e8273c352..2c72041927 100644 --- a/lib/functions/host/host-release.sh +++ b/lib/functions/host/host-release.sh @@ -33,7 +33,7 @@ function obtain_and_check_host_release_and_arch() { # # NO_HOST_RELEASE_CHECK overrides the check for a supported host system # Disable host OS check at your own risk. Any issues reported with unsupported releases will be closed without discussion - if [[ -z $HOSTRELEASE || "bookworm trixie sid jammy kinetic lunar vanessa vera victoria mantic" != *"$HOSTRELEASE"* ]]; then + if [[ -z $HOSTRELEASE || "bookworm trixie sid jammy kinetic lunar vanessa vera victoria mantic noble" != *"$HOSTRELEASE"* ]]; then if [[ $NO_HOST_RELEASE_CHECK == yes ]]; then display_alert "You are running on an unsupported system" "${HOSTRELEASE:-(unknown)}" "wrn" display_alert "Do not report any errors, warnings or other issues encountered beyond this point" "" "wrn" diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index be468c3c1f..c84266225c 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -294,7 +294,7 @@ function adaptative_prepare_host_dependencies() { # Python2 -- required for some older u-boot builds # Debian 'sid'/'bookworm' and Ubuntu 'lunar' does not carry python2 anymore; in this case some u-boot's might fail to build. - if [[ "sid bookworm trixie lunar mantic" == *"${host_release}"* ]]; then + if [[ "sid bookworm trixie lunar mantic noble" == *"${host_release}"* ]]; then display_alert "Python2 not available on host release '${host_release}'" "old(er) u-boot builds might/will fail" "wrn" else host_dependencies+=("python2" "python2-dev")