Whamcloud - gitweb
LU-15652 build: On Debian detect -common kernel headers 36/46836/6
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 25 May 2022 16:46:50 +0000 (23:46 +0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 6 Jul 2022 03:34:34 +0000 (03:34 +0000)
commit85a6eebeca1e1efb5bb9c3e737ab1978f8aca741
treec5062a4e118a6b26bb83bcb4311563cc45b28fc7
parented80c3f64317a87ed10919cedbf2d65b36abcdcb
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.

Fixes: e6d1968fbbad ("LU-13903 build: Move GLIBC/openssl checks to where needed")
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/46836
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Jian Yu <yujian@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
config/lustre-build.m4