Whamcloud - gitweb
EX-8779 build: kernel-abi-whitelists is not required
authorJian Yu <yujian@whamcloud.com>
Thu, 14 Dec 2023 17:07:48 +0000 (09:07 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 15 Dec 2023 03:44:05 +0000 (03:44 +0000)
This patch fixes build dependency issue with
kernel-abi-whitelists, which is not required.

Test-Parameters: trivial

Change-Id: I3f8ad51a0ccab5c994d472d62934670b497c1454
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53448
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
contrib/lbuild/lbuild
contrib/lbuild/lbuild-rhel8
lustre.spec.in

index af17f4a..070847f 100755 (executable)
@@ -73,7 +73,7 @@ KERNELTREE=
 KERNEL_LUSTRE_NAMING=false
 ENABLE_KERNEL_DEBUG=false
 # default not use kabi check.
-USE_KABI=true
+USE_KABI=false
 
 # patchless build
 KERNELRPMSBASE=
index 61d0d62..8c686bc 100644 (file)
@@ -8,7 +8,7 @@ BUILD_GEN+=".0"
 
 SPEC_NAME="kernel.spec"
 DEVEL_PATH_ARCH_DELIMETER="."
-USE_KABI=true
+USE_KABI=false
 
 # force local definition of %dist into ~/.rpmmacros
 # to avoid verbose extended strings like ".el8.centos"
index 99d2faf..d1dc7fc 100644 (file)
@@ -22,7 +22,7 @@
 %bcond_with    systemd
 %bcond_with mofed
 %bcond_without mpi
-%bcond_with kabi
+%bcond_without kabi
 %bcond_without mlnx
 %bcond_with ofed
 
@@ -265,11 +265,6 @@ BuildRequires: rpm-build >= 4.14.3
 BuildRequires: %kernel_module_package_buildreqs
 # need to provide a /usr/lib/${uname -r)/build dir
 BuildRequires: kernel >= 3.10
-%if "%{_vendor}" == "redhat"
-%if %{with kabi}
-BuildRequires: kernel-abi-whitelists
-%endif
-%endif
 %endif
 
 %if %{with systemd}