From ea028fbcbac1a6321b17557de1367cafb2a4f2ad Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 29 Aug 2024 15:17:56 +0200 Subject: [PATCH] prepare-host: trixie and sid don't carry python3-distutils anymore --- lib/functions/host/prepare-host.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index 85378415532d..1232bdbc1c32 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -297,8 +297,8 @@ function adaptative_prepare_host_dependencies() { # Needed for some u-boot's, lest "tools/mkeficapsule.c:21:10: fatal error: gnutls/gnutls.h" host_dependencies+=("libgnutls28-dev") - # Noble and later releases do not carry "python3-distutils" https://docs.python.org/3.10/whatsnew/3.10.html#distutils-deprecated - if [[ "$host_release" =~ ^(noble|wilma)$ ]]; then + # Noble/Trixie and later releases do not carry "python3-distutils" https://docs.python.org/3.10/whatsnew/3.10.html#distutils-deprecated + if [[ "$host_release" =~ ^(trixie|sid|noble|wilma)$ ]]; then display_alert "python3-distutils not available on host release '${host_release}'" "distutils was deprecated with Python 3.12" "debug" else host_dependencies+=("python3-distutils")