From 7d19eccb2a19aa9d5f240f69dbc9566a248abda4 Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Wed, 7 Aug 2019 17:56:26 -0700 Subject: [PATCH] LU-12457 kernel: new kernel [RHEL 7.7 3.10.0-1062.el7] This patch makes changes to support new RHEL 7.7 release for Lustre client. Test-Parameters: trivial clientdistro=el7.7 Change-Id: I1fd68b56340c8674c9fae607e05faca04ba99a5a Signed-off-by: Jian Yu Reviewed-on: https://review.whamcloud.com/35725 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Yang Sheng Reviewed-by: Minh Diep Reviewed-by: Oleg Drokin --- lustre/ChangeLog | 1 + lustre/autoconf/lustre-core.m4 | 1 + .../kernel_patches/targets/3.10-rhel7.7.target.in | 26 ++++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 lustre/kernel_patches/targets/3.10-rhel7.7.target.in diff --git a/lustre/ChangeLog b/lustre/ChangeLog index e8581e3..31ce7d2 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -17,6 +17,7 @@ TBD Whamcloud 2.6.32-754.6.3.el6 (RHEL6.10) 3.10.0-862.14.4.el7 (RHEL7.5) 3.10.0-957.21.3.el7 (RHEL7.6) + 3.10.0-1062.el7 (RHEL7.7) 4.14.0-49.13.1.el7a (RHEL7.5) 4.14.0-115.2.2.el7a (RHEL7.6) 4.18.0-80.4.2.el8 (RHEL8.0) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 2a02595..5a677f1 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -3657,6 +3657,7 @@ lustre/include/Makefile lustre/include/lustre/Makefile lustre/include/uapi/linux/lustre/Makefile 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 lustre/kernel_patches/targets/3.10-rhel7.5.target lustre/kernel_patches/targets/4.14-rhel7.5.target diff --git a/lustre/kernel_patches/targets/3.10-rhel7.7.target.in b/lustre/kernel_patches/targets/3.10-rhel7.7.target.in new file mode 100644 index 0000000..6277f57 --- /dev/null +++ b/lustre/kernel_patches/targets/3.10-rhel7.7.target.in @@ -0,0 +1,26 @@ +lnxmaj="3.10.0" +lnxrel="1062.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 -- 1.8.3.1