Whamcloud - gitweb
LU-10638 build: add support for Scientific 20/31220/3 v1.42.13.wc6-lustre
authorAlexander Boyko <c17825@cray.com>
Thu, 8 Feb 2018 06:43:40 +0000 (01:43 -0500)
committerAndreas Dilger <andreas.dilger@intel.com>
Wed, 2 May 2018 03:16:56 +0000 (03:16 +0000)
Add Scientific to Distro with a reference to RHEL.

Signed-off-by: Alexander Boyko <c17825@cray.com>
Change-Id: I05001ee9233e4cac6b2c6b523a374ffdc243394d
Cray-bug-id: MRP-3882
Reviewed-on: https://review.whamcloud.com/31220
Reviewed-by: Artem Blagodarenko <c17828@cray.com>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
contrib/build-rpm

index a8f4d20..2333f84 100644 (file)
@@ -67,6 +67,8 @@ if [ -z "$RELEASE" ]; then
     exit 1
 fi
 case "$DISTRO-$RELEASE" in
+    Scientific-6*) DISTRO=RHEL; RELEASE=6;;
+    Scientific-7*) DISTRO=RHEL; RELEASE=7;;
     RedHatEnterpriseServer-6*) DISTRO=RHEL; RELEASE=6;;
     RedHatEnterpriseServer-7*) DISTRO=RHEL; RELEASE=7;;
     CentOS-6*) DISTRO=RHEL; RELEASE=6;;