Skip to content

Commit 686a810

Browse files
authored
[O2-4323] Fix RHEL9 support in alibuild CLI (#809)
1 parent 8872c33 commit 686a810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alibuild_helpers/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def doDetectArch(hasOsRelease, osReleaseLines, platformTuple, platformSystem, pl
150150
distribution = distribution.lower()
151151
# If platform.dist does not return something sensible,
152152
# let's try with /etc/os-release
153-
if distribution not in ["ubuntu", "redhat", "centos", "almalinux", "rockylinux"] and hasOsRelease:
153+
if distribution not in ["ubuntu", "red hat enterprise linux", "redhat", "centos", "almalinux", "rockylinux"] and hasOsRelease:
154154
for x in osReleaseLines:
155155
key, is_prop, val = x.partition("=")
156156
if not is_prop:

0 commit comments

Comments
 (0)