From 686a8105f64df3d1417c3d683da0d5fcee76b022 Mon Sep 17 00:00:00 2001 From: Adam Wegrzynek Date: Fri, 3 Nov 2023 08:42:24 +0100 Subject: [PATCH] [O2-4323] Fix RHEL9 support in alibuild CLI (#809) --- alibuild_helpers/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alibuild_helpers/utilities.py b/alibuild_helpers/utilities.py index cd694dfa..21d638bb 100644 --- a/alibuild_helpers/utilities.py +++ b/alibuild_helpers/utilities.py @@ -150,7 +150,7 @@ def doDetectArch(hasOsRelease, osReleaseLines, platformTuple, platformSystem, pl distribution = distribution.lower() # If platform.dist does not return something sensible, # let's try with /etc/os-release - if distribution not in ["ubuntu", "redhat", "centos", "almalinux", "rockylinux"] and hasOsRelease: + if distribution not in ["ubuntu", "red hat enterprise linux", "redhat", "centos", "almalinux", "rockylinux"] and hasOsRelease: for x in osReleaseLines: key, is_prop, val = x.partition("=") if not is_prop: