From cb58b2337ce5b7f2e253534a3d1ca3fd78e01297 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Tue, 3 Jan 2017 11:39:51 +0100 Subject: [PATCH] deb: fix issues in debian/control, silence some warnings Change-Id: I135646dbc641b1ff517fc137f8c653f7f3fe60fe Signed-off-by: Damjan Marion --- build-root/deb/debian/control | 14 +++++++------- build-root/deb/debian/rules | 5 +++++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/build-root/deb/debian/control b/build-root/deb/debian/control index de48c903f63..6d26266a899 100644 --- a/build-root/deb/debian/control +++ b/build-root/deb/debian/control @@ -2,7 +2,7 @@ Source: vpp Section: net Priority: extra Maintainer: Cisco OpenVPP Packaging Team -Build-Depends: debhelper (>= 9), dkms, dh-systemd, chrpath +Build-Depends: debhelper (>= 9), dkms, dh-systemd, dh-python, chrpath Standards-Version: 3.9.4 Package: vpp @@ -16,19 +16,19 @@ Description: Vector Packet Processing--executables Package: vpp-dbg Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${misc:Depends} Description: Vector Packet Processing--debug symbols Package: vpp-dev Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Description: Vector Packet Processing--development support This package contains development support files for the VPP libraries . Package: vpp-dpdk-dev Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${misc:Depends} Description: Vector Packet Processing--development support This package contains dpdk header files which match the dpdk version compiled into the vpp executable @@ -56,20 +56,20 @@ Description: Vector Packet Processing--runtime plugins Package: vpp-dpdk-dkms Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${misc:Depends} Description: DPDK 2.1 igb_uio_driver This package contains Linux kernel modules distributed with DPDK. Package: vpp-api-lua Architecture: any -Depends: ${python:Depends}, ${misc:Depends}, vpp (= ${source:Version}) +Depends: ${misc:Depends}, vpp (= ${source:Version}) Description: VPP LUA API bindings This package contains VPP lua api bindings . Package: vpp-api-java Architecture: any -Depends: ${python:Depends}, ${misc:Depends}, vpp (= ${source:Version}) +Depends: ${misc:Depends}, vpp (= ${source:Version}) Description: VPP Java API bindings This package contains VPP java api bindings . diff --git a/build-root/deb/debian/rules b/build-root/deb/debian/rules index 186fa840ad0..4c84fc32686 100755 --- a/build-root/deb/debian/rules +++ b/build-root/deb/debian/rules @@ -24,6 +24,11 @@ override_dh_install: dh_install --exclude .git ../scripts/remove-rpath . +override_dh_shlibdeps: + @dh_shlibdeps 2>&1 \ + | grep -v "probably a plugin" \ + | grep -v "similar warnings have been skipped" + override_dh_strip: dh_strip --dbg-package=vpp-dbg -- 2.16.6