[PATCH rdma-core 1/2] debian: Create empty pyverbs package for builds without pyverbs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tzafrir Cohen <tzafrirc@xxxxxxxxxxxx>

Other parts of the standard Debian build toolchain (specifically:
dpkg-genchangelog, but possibly others) expect a package to exist.

Fixes: 841c9f041f0af ("debian: Add pyverbs to Debian package")
Signed-off-by: Tzafrir Cohen <tzafrirc@xxxxxxxxxxxx>
Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
---
 debian/rules | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 15318c0a..0a762045 100755
--- a/debian/rules
+++ b/debian/rules
@@ -101,13 +101,6 @@ override_dh_strip:
 	dh_strip -plibrdmacm1 --dbg-package=librdmacm1-dbg
 	dh_strip --remaining-packages

-override_dh_builddeb:
-	if [ -e build-deb/python/pyverbs/__init__.py ]; then \
-		dh_builddeb --remaining-package; \
-	else \
-		dh_builddeb -Npython3-pyverbs --remaining-packages; \
-	fi
-

 # Upstream encourages the use of 'build' as the developer build output
 # directory, allow that directory to be present and still allow dh to work.
--
2.19.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux