Whamcloud - gitweb
LU-16756 kernel: new kernel [RHEL 9.2 5.14.0-283.el9] 45/50745/4
authorJian Yu <yujian@whamcloud.com>
Tue, 25 Apr 2023 18:32:24 +0000 (11:32 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 9 May 2023 05:48:41 +0000 (05:48 +0000)
This patch makes changes to support new RHEL 9.2 release
for Lustre client.

Test-Parameters: trivial env=SANITY_EXCEPT=27J clientdistro=el9.2 testlist=sanity

Change-Id: I4886bbf30d6d6a93c4adbfb68871e9d91f5b64de
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50745
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>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
contrib/lbuild/funcs.sh
lustre/ChangeLog
lustre/autoconf/lustre-core.m4
lustre/kernel_patches/targets/5.14-rhel9.2.target.in [new file with mode: 0644]

index 0a1f588..78e2af9 100644 (file)
@@ -199,6 +199,7 @@ autodetect_target() {
          rhel8*)  target="4.18-rhel8";;
        rhel-9.0) target="5.14-rhel9.0";;
        rhel-9.1) target="5.14-rhel9.1";;
+       rhel-9.2) target="5.14-rhel9.2";;
         sles11.4) target="$(uname -r | cut -d . -f 1,2)-sles11sp4";;
         sles11.3) target="$(uname -r | cut -d . -f 1,2)-sles11sp3";;
         sles11*)  target="$(uname -r | cut -d . -f 1,2)-sles11";;
index 0354dbd..e44b6eb 100644 (file)
@@ -30,6 +30,7 @@ TBD Whamcloud
          5.10.0-60.79.0.103.oe2203 (openEuler 22.03 LTS)
        * ldiskfs needs an ldiskfs patch series for that kernel, ZFS does not
        * Client primary kernels built and tested during release cycle:
+         5.14.0-283.el9       (RHEL9.2)
          5.14.0-162.22.2.el9  (RHEL9.1)
          4.18.0-477.el8       (RHEL8.8)
          5.4.0-37             (Ubuntu 20.04)
index 55c608e..2c766c1 100644 (file)
@@ -4561,6 +4561,7 @@ lustre/doc/Makefile
 lustre/include/Makefile
 lustre/include/lustre/Makefile
 lustre/include/uapi/linux/lustre/Makefile
+lustre/kernel_patches/targets/5.14-rhel9.2.target
 lustre/kernel_patches/targets/5.14-rhel9.1.target
 lustre/kernel_patches/targets/5.14-rhel9.0.target
 lustre/kernel_patches/targets/4.18-rhel8.8.target
diff --git a/lustre/kernel_patches/targets/5.14-rhel9.2.target.in b/lustre/kernel_patches/targets/5.14-rhel9.2.target.in
new file mode 100644 (file)
index 0000000..0ed6ed5
--- /dev/null
@@ -0,0 +1,26 @@
+lnxmaj="5.14.0"
+lnxrel="283.el9"
+
+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