From: Jian Yu Date: Thu, 2 Apr 2020 00:32:19 +0000 (-0700) Subject: LU-13347 kernel: new kernel [RHEL 7.8 3.10.0-1127.el7] X-Git-Tag: 2.13.54~203 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F37912%2F5;p=fs%2Flustre-release.git LU-13347 kernel: new kernel [RHEL 7.8 3.10.0-1127.el7] 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 Reviewed-on: https://review.whamcloud.com/37912 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Yang Sheng Reviewed-by: Minh Diep Reviewed-by: Oleg Drokin --- diff --git a/lustre/ChangeLog b/lustre/ChangeLog index dfb5fa8..b181fb4 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -17,6 +17,7 @@ TBD Whamcloud * ldiskfs needs an ldiskfs patch series for that kernel, ZFS does not * Client primary unpatched kernels built and tested during release cycle: 3.10.0-1062.9.1.el7 (RHEL7.7) + 3.10.0-1127.el7 (RHEL7.8) 4.12.14-95.45 (SLES12 SP4) 4.12.14-197.29 (SLES15 SP1) 4.15.0-48 (Ubuntu 18.04) diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index 876d112..02db2a7 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -2623,6 +2623,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 index 0000000..29faa1a --- /dev/null +++ b/lustre/kernel_patches/targets/3.10-rhel7.8.target.in @@ -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