Whamcloud - gitweb
LU-14690 kernel: new kernel [RHEL 8.4 4.18.0-305.3.1.el8_4] 44/43744/5
authorJian Yu <yujian@whamcloud.com>
Sun, 6 Jun 2021 07:38:49 +0000 (00:38 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jun 2021 22:28:46 +0000 (22:28 +0000)
This patch makes changes to support new RHEL 8.4 release
for Lustre client.

Test-Parameters: trivial clientdistro=el8.4

Change-Id: I47d4706f9175d489ef0e6226492af20f44f0677e
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43744
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Oleg Drokin <green@whamcloud.com>
lustre/ChangeLog
lustre/autoconf/lustre-core.m4
lustre/kernel_patches/targets/4.18-rhel8.4.target.in [new file with mode: 0644]

index ab823b9..5f5a13e 100644 (file)
@@ -35,6 +35,7 @@ TBD Whamcloud
          4.18.0-147.3.1.el8   (RHEL8.1)
          4.18.0-193.28.1.el8  (RHEL8.2)
          4.18.0-240.22.1.el8  (RHEL8.3)
+         4.18.0-305.3.1.el8   (RHEL8.4)
          4.4.120-92.70        (SLES12 SP2)
          4.4.0-142            (Ubuntu 16.04)
          vanilla linux 4.15.0 (ZFS only)
index 71d100a..11f2424 100644 (file)
@@ -3810,6 +3810,7 @@ lustre/doc/Makefile
 lustre/include/Makefile
 lustre/include/lustre/Makefile
 lustre/include/uapi/linux/lustre/Makefile
+lustre/kernel_patches/targets/4.18-rhel8.4.target
 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
diff --git a/lustre/kernel_patches/targets/4.18-rhel8.4.target.in b/lustre/kernel_patches/targets/4.18-rhel8.4.target.in
new file mode 100644 (file)
index 0000000..d28a956
--- /dev/null
@@ -0,0 +1,26 @@
+lnxmaj="4.18.0"
+lnxrel="305.3.1.el8_4"
+
+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