Whamcloud - gitweb
LU-12637 kernel: new kernel [RHEL 8.1 4.18.0-147.3.1.el8_1] 86/37186/4
authorJian Yu <yujian@whamcloud.com>
Fri, 3 Jan 2020 07:28:20 +0000 (23:28 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 27 Jan 2020 23:12:48 +0000 (23:12 +0000)
This patch makes changes to support new RHEL 8.1 release
for Lustre client.

Test-Parameters: trivial clientdistro=el8.1 \
envdefinitions=SANITY_EXCEPT="411 817" \
testlist=sanity

Lustre-change: https://review.whamcloud.com/36946
Lustre-commit: 97e93c8f267a7d9fb9ee6d96b040236172a7f247

Change-Id: Ifcc0a15c3ad9afa99b670641f91b23c1a5c0668e
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/37186
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/4.18-rhel8.1.target.in [new file with mode: 0644]

index 375f16c..d3db03c 100644 (file)
@@ -27,6 +27,7 @@ TBD Whamcloud
          3.10.0-862.14.4.el7 (RHEL7.5)
          4.14.0-49.13.1.el7a (RHEL7.5)
          4.14.0-115.2.2.el7a (RHEL7.6)
+         4.18.0-147.3.1.el8  (RHEL8.1)
          4.4.120-92.70       (SLES12 SP2)
          4.4.0-142           (Ubuntu 16.04)
          vanilla linux 4.15.0 (ZFS only)
index f9dee04..af6a65b 100644 (file)
@@ -3674,6 +3674,7 @@ lustre/doc/Makefile
 lustre/include/Makefile
 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.7.target
 lustre/kernel_patches/targets/3.10-rhel7.6.target
diff --git a/lustre/kernel_patches/targets/4.18-rhel8.1.target.in b/lustre/kernel_patches/targets/4.18-rhel8.1.target.in
new file mode 100644 (file)
index 0000000..9d372df
--- /dev/null
@@ -0,0 +1,26 @@
+lnxmaj="4.18.0"
+lnxrel="147.3.1.el8_1"
+
+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