Whamcloud - gitweb
LU-13555 build: Map mainline kernel on rhel to rhel 94/38594/2
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 13 May 2020 23:57:57 +0000 (18:57 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 May 2020 05:05:30 +0000 (05:05 +0000)
Mainline kernel builds on RHEL can map to RHEL directly and
the MAINLINE_KERNEL abstraction is not needed and can be
removed.

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

index b8a5c2e..9040a81 100644 (file)
@@ -157,7 +157,7 @@ AC_DEFUN([LB_LINUX_RELEASE], [
                        ])
                ])
                AS_IF([test "x$lb_cv_mainline_kernel_sig" = "xyes"], [
-                       MAINLINE_KERNEL="yes"
+                       RHEL_KERNEL="yes"
                        KERNEL_FOUND="yes"
                ])
        ])
@@ -174,7 +174,6 @@ AC_DEFUN([LB_LINUX_RELEASE], [
                [KMP_MODDIR=$withval
                 IN_KERNEL=''],[
                AS_IF([test x$RHEL_KERNEL = xyes], [KMP_MODDIR="extra/kernel"],
-                     [test x$MAINLINE_KERNEL = xyes], [KMP_MODDIR="extra/kernel"],
                      [test x$SUSE_KERNEL = xyes], [KMP_MODDIR="updates/kernel"],
                      [test x$UBUNTU_KERNEL = xyes], [KMP_MODDIR="updates/kernel"],
                      [test x$DEBIAN_KERNEL = xyes], [KMP_MODDIR="updates/kernel"],