From: Andreas Dilger Date: Sat, 18 Sep 2021 01:53:33 +0000 (-0600) Subject: LU-15008 build: fix RHEL8.4 detection for lipe X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d5495c6c284234dd4812fba8abdca163ee4b1821;p=fs%2Flustre-release.git LU-15008 build: fix RHEL8.4 detection for lipe The following error was generated by detect-distro.sh: I don't know what distro name RedHatEnterprise and version 8.4 is. while detect-distro.sh is looking for RedhatEnterpriseServer. Test-Parameters: trivial Fixes: 37de8547a945 ("EX-3723 build: build lipe-lpcc on client") Signed-off-by: Andreas Dilger Change-Id: Ida0c16e6067ca3d736e35c889ac18940c43ebbe5 Reviewed-on: https://review.whamcloud.com/44983 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Minh Diep --- diff --git a/lipe/detect-distro.sh b/lipe/detect-distro.sh index 8bbdd36..fa8d8fd 100755 --- a/lipe/detect-distro.sh +++ b/lipe/detect-distro.sh @@ -19,7 +19,7 @@ if which lsb_release >/dev/null 2>&1; then "EnterpriseEnterpriseServer") name="oel" ;; - "RedHatEnterpriseServer" | "ScientificSL" | "CentOS") + "RedHatEnterprise*" | "ScientificSL" | "CentOS") name="rhel" ;; "SUSE LINUX")