Whamcloud - gitweb
LU-12141 build: correct the required kernel version for lustre kmod 59/34559/3
authorGu Zheng <gzheng@ddn.com>
Mon, 1 Apr 2019 09:19:21 +0000 (17:19 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 13 Apr 2019 04:50:15 +0000 (04:50 +0000)
Use %kversion rather than %kver when creating preamble for lustre kmods
in lustre spec, to avoid *Requires kernel version* mismatch.

Test-Parameters: trivial

Change-Id: I9929471abd48b214510bcb499e25793ad120e6d1
Signed-off-by: Gu Zheng <gzheng@ddn.com>
Reviewed-on: https://review.whamcloud.com/34559
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: Wang Shilong <wshilong@ddn.com>
Tested-by: Jenkins
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>

index ee49531..0476ac6 100644 (file)
@@ -186,7 +186,7 @@ Userspace tools and files for the Lustre file system.
 %define preamble %{expand:%(
 cat %{SOURCE1} > $TMPFILE