Whamcloud - gitweb
LU-13226 ldiskfs: Add support for SUSE 15 SP2 90/37490/7
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 12 Feb 2020 20:18:07 +0000 (14:18 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 31 Mar 2020 07:01:33 +0000 (07:01 +0000)
SUSE 15 SP2 kernel is close enough to 5.4.7+ mainline to
use the patch series directly.
Update the configure script to select it.

Test-Parameters: trivial
Cray-bug-id: LUS-8485
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I10e5b9eef6783ac153429be602bbda8d870c46d5
Reviewed-on: https://review.whamcloud.com/37490
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build-ldiskfs.m4

index f205890..8907ba9 100644 (file)
@@ -19,6 +19,7 @@ AS_IF([test x$RHEL_KERNEL = xyes], [
        76)     LDISKFS_SERIES="3.10-rhel7.6.series"    ;;
        esac
 ], [test x$SUSE_KERNEL = xyes], [
+       AS_VERSION_COMPARE([$LINUXRELEASE],[5.3.18],[
        AS_VERSION_COMPARE([$LINUXRELEASE],[4.12.14],[
        AS_VERSION_COMPARE([$LINUXRELEASE],[4.4.82],[
        AS_VERSION_COMPARE([$LINUXRELEASE],[4.4.0],[
@@ -36,7 +37,9 @@ AS_IF([test x$RHEL_KERNEL = xyes], [
        )], [LDISKFS_SERIES="4.4-sles12sp3.series"],
            [LDISKFS_SERIES="4.4-sles12sp3.series"]
        )], [LDISKFS_SERIES="4.12-sles15.series"],
-           [LDISKFS_SERIES="4.12-sles15.series"])
+           [LDISKFS_SERIES="4.12-sles15.series"]
+       )], [LDISKFS_SERIES="5.4.0-ml.series"],
+           [LDISKFS_SERIES="5.4.0-ml.series"])
 ], [test x$UBUNTU_KERNEL = xyes], [
        AS_VERSION_COMPARE([$LINUXRELEASE],[5.3.0],[
        AS_VERSION_COMPARE([$LINUXRELEASE],[5.0.0],[