Whamcloud - gitweb
LU-13347 kernel: new kernel [RHEL 7.8 3.10.0-1127.el7] 43/38143/6
authorJian Yu <yujian@whamcloud.com>
Fri, 10 Apr 2020 05:54:56 +0000 (22:54 -0700)
committerOleg Drokin <green@whamcloud.com>
Sun, 19 Apr 2020 08:49:53 +0000 (08:49 +0000)
This patch makes changes to support new RHEL 7.8 release
for Lustre client.

Test-Parameters: trivial clientdistro=el7.8

Change-Id: I82f89495d5ab1d46a539a016a899307d7c8f37b7
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/38143
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ChangeLog
lustre/autoconf/lustre-core.m4
lustre/kernel_patches/targets/3.10-rhel7.8.target.in [new file with mode: 0644]

index 5e0a1dc..3d099bf 100644 (file)
@@ -17,6 +17,7 @@ TBD Whamcloud
        * Client primary unpatched kernels built and tested during release cycle:
          3.10.0-957.27.2.el7 (RHEL7.6)
          3.10.0-1062.9.1.el7 (RHEL7.7)
+         3.10.0-1127.el7     (RHEL7.8)
          4.18.0-80.11.2.el8  (RHEL8.0)
          4.4.180-94.97       (SLES12 SP3)
          4.12.14-95.45       (SLES12 SP4)
index 09823b0..b01d423 100644 (file)
@@ -3694,6 +3694,7 @@ lustre/include/lustre/Makefile
 lustre/include/uapi/linux/lustre/Makefile
 lustre/kernel_patches/targets/4.18-rhel8.1.target
 lustre/kernel_patches/targets/4.18-rhel8.target
+lustre/kernel_patches/targets/3.10-rhel7.8.target
 lustre/kernel_patches/targets/3.10-rhel7.7.target
 lustre/kernel_patches/targets/3.10-rhel7.6.target
 lustre/kernel_patches/targets/3.10-rhel7.5.target
diff --git a/lustre/kernel_patches/targets/3.10-rhel7.8.target.in b/lustre/kernel_patches/targets/3.10-rhel7.8.target.in
new file mode 100644 (file)
index 0000000..29faa1a
--- /dev/null
@@ -0,0 +1,26 @@
+lnxmaj="3.10.0"
+lnxrel="1127.el7"
+
+KERNEL_SRPM=kernel-${lnxmaj}-${lnxrel}.src.rpm
+SERIES=""
+EXTRA_VERSION=${lnxrel}_lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
+
+DEVEL_PATH_ARCH_DELIMETER="."
+OFED_VERSION=inkernel
+
+BASE_ARCHS="i686 x86_64 ia64 ppc64"
+BIGMEM_ARCHS=""
+BOOT_ARCHS=""
+JENSEN_ARCHS=""
+#SMP_ARCHS="i686 x86_64 ia64 ppc64"
+# RHEL5 doesn't use smp specific kernels
+SMP_ARCHS=""
+UP_ARCHS=""
+
+for cc in gcc ; do
+    if which $cc >/dev/null 2>/dev/null ; then
+        export CC=$cc
+        break
+    fi
+done