mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
prepare-host/host-release: enable noble for building; noble also doesn't have python2 anymore
This commit is contained in:
@@ -33,7 +33,7 @@ function obtain_and_check_host_release_and_arch() {
|
|||||||
#
|
#
|
||||||
# NO_HOST_RELEASE_CHECK overrides the check for a supported host system
|
# 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
|
# 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
|
if [[ $NO_HOST_RELEASE_CHECK == yes ]]; then
|
||||||
display_alert "You are running on an unsupported system" "${HOSTRELEASE:-(unknown)}" "wrn"
|
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"
|
display_alert "Do not report any errors, warnings or other issues encountered beyond this point" "" "wrn"
|
||||||
|
|||||||
@@ -294,7 +294,7 @@ function adaptative_prepare_host_dependencies() {
|
|||||||
|
|
||||||
# Python2 -- required for some older u-boot builds
|
# 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.
|
# 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"
|
display_alert "Python2 not available on host release '${host_release}'" "old(er) u-boot builds might/will fail" "wrn"
|
||||||
else
|
else
|
||||||
host_dependencies+=("python2" "python2-dev")
|
host_dependencies+=("python2" "python2-dev")
|
||||||
|
|||||||
Reference in New Issue
Block a user