From a0e986e5dda3bcb91255ca6cb5599c8a6e7f59f5 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Thu, 27 Jun 2024 13:06:03 +0200 Subject: [PATCH] debian: exclude hns provider on archs without coherent DMA The provider `hns` requires coherent DMA and will not build on architectures that lack coherent DMA. So exclude trying to install them on those architectures. Bug-Debian: https://bugs.debian.org/1073050 Signed-off-by: Benjamin Drung --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 34b392150..85cd334b5 100755 --- a/debian/rules +++ b/debian/rules @@ -62,7 +62,7 @@ ifeq (,$(filter-out $(NON_COHERENT_DMA_ARCHS),$(DEB_HOST_ARCH))) for package in ibverbs-providers libibverbs-dev rdma-core; do \ test -e debian/$$package.install.backup || cp debian/$$package.install debian/$$package.install.backup; \ done - sed -i '/efa\|mana\|mlx[45]/d' debian/ibverbs-providers.install debian/libibverbs-dev.install debian/rdma-core.install + sed -i '/efa\|hns\|mana\|mlx[45]/d' debian/ibverbs-providers.install debian/libibverbs-dev.install debian/rdma-core.install endif DESTDIR=$(CURDIR)/debian/tmp ninja -C build-deb install