Whamcloud - gitweb
LU-15652 build: On Debian detect -common kernel headers 58/47758/4
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 24 Jun 2022 06:44:51 +0000 (23:44 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 6 Jul 2022 03:41:07 +0000 (03:41 +0000)
commitce54c11e0b651f42defa3283015d407bd6fd50aa
treedea4eccd9910463b75dacbd0f6fb820bb2753e53
parent2fd033c6848f54a06ca9379789f37f73de80dce9
LU-15652 build: On Debian detect -common kernel headers

Check for a matching /usr/src/linux-headers-<ver>-common/
and update the --with-linux argument accordingly.

Also move LC_GLIBC_SUPPORT_COPY_FILE_RANGE outside
of utils as this also breaks the dkms build on Debian
with 'static' follows 'non static' declairation of
copy_file_range.

Lustre-change: https://review.whamcloud.com/46836
Lustre-commit: 85a6eebeca1e1efb5bb9c3e737ab1978f8aca741

HPE-bug-id: LUS-10826
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I6e4f0b27eba6c5b07cda14f064e57aa9c93ae3cc
Reviewed-on: https://review.whamcloud.com/47758
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build-linux.m4
config/lustre-build.m4