Whamcloud - gitweb
LU-17850 build: prefer LINUXRELEASE over uname -r 08/55108/1
authorJian Yu <yujian@whamcloud.com>
Tue, 14 May 2024 17:50:20 +0000 (10:50 -0700)
committerJian Yu <yujian@whamcloud.com>
Tue, 14 May 2024 17:50:20 +0000 (10:50 -0700)
commitc587c5bdf1c10e4b96e88bb3a0f1972a75dbe9cb
tree5f475eceb57a016314ad63491df33a7f356f8857
parentd780f013a9960a7183460e96b84b23900f974f3b
LU-17850 build: prefer LINUXRELEASE over uname -r

In a container or chroot environment, "uname -r" reports
the host instead of the target kernel version. We should
use the LINUXRELEASE variable which is configured in
config/lustre-build-linux.m4 with the value from UTS_RELEASE.

Change-Id: Iaa48027f5ae873e1298695a264db1c351d9eac5c
Test-Parameters: trivial
Signed-off-by: Jian Yu <yujian@whamcloud.com>
lustre.spec.in