Whamcloud - gitweb
LU-13839 kernel: new kernel [RHEL 8.3 4.18.0-240.1.1.el8_3] 36/40536/3
authorJian Yu <yujian@whamcloud.com>
Fri, 6 Nov 2020 09:08:08 +0000 (01:08 -0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 13 Nov 2020 17:58:39 +0000 (17:58 +0000)
This patch makes changes to support new RHEL 8.3 release
for Lustre client.

Test-Parameters: trivial clientdistro=el8.3

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

index 24b889c..53d6d3a 100644 (file)
@@ -36,6 +36,7 @@ TBD Whamcloud
          4.18.0-80.11.2.el8   (RHEL8.0)
          4.18.0-147.8.1.el8   (RHEL8.1)
          4.18.0-193.19.1.el8  (RHEL8.2)
+         4.18.0-240.1.1.el8   (RHEL8.3)
          4.4.120-92.70        (SLES12 SP2)
          4.4.180-94.100       (SLES12 SP3)
          4.4.0-131            (Ubuntu 16.04)
index 6143d96..79c4d0b 100644 (file)
@@ -2835,6 +2835,7 @@ lustre/doc/Makefile
 lustre/include/Makefile
 lustre/include/lustre/Makefile
 lustre/include/uapi/linux/lustre/Makefile
+lustre/kernel_patches/targets/4.18-rhel8.3.target
 lustre/kernel_patches/targets/4.18-rhel8.2.target
 lustre/kernel_patches/targets/4.18-rhel8.1.target
 lustre/kernel_patches/targets/4.18-rhel8.target
diff --git a/lustre/kernel_patches/targets/4.18-rhel8.3.target.in b/lustre/kernel_patches/targets/4.18-rhel8.3.target.in
new file mode 100644 (file)
index 0000000..29051bc
--- /dev/null
@@ -0,0 +1,26 @@
+lnxmaj="4.18.0"
+lnxrel="240.1.1.el8_3"
+
+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"
+# RHEL8 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