Stop using lsb_release
      All threads resolved!
          
      All threads resolved!
          
lsb_release is no longer provided in CS9 (or RHEL9), so we have to do things a little differently.
For upstreamcentostests.sh, I had to change from ID to name. Here are the possible values I've seen so far:
RHEL7:
LSB_DISTRO_ID="RedHatEnterpriseServer"
NAME="Red Hat Enterprise Linux Server"
RHEL8:
LSB_DISTRO_ID="RedHatEnterprise"
NAME="Red Hat Enterprise Linux"
CC7:
LSB_DISTRO_ID="CentOS"
NAME="CentOS Linux"
CS8:
LSB_DISTRO_ID="CentOSStream"
NAME="CentOS Stream"
CS9:
LSB_DISTRO_ID="" #-bash: lsb_release: command not found
NAME="CentOS Stream"
Please double-check that I didn't screw up the conditions.
Merge request reports
Activity
assigned to @morrice
- Resolved by Alex Iribarren
 mentioned in commit 3b0eb1fa
Please register or sign in to reply