prepare-host/host-release: enable noble for building; noble also doesn't have python2 anymore

This commit is contained in:
Ricardo Pardini
2024-03-02 13:15:24 +01:00
committed by Igor
parent d5133b6a43
commit ceed97c57b
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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")