From addb55b9e0533c5f720b1cc1bdeeb4bbd0e6bf2a Mon Sep 17 00:00:00 2001 From: Gabriel Ganne Date: Mon, 6 Nov 2017 14:09:06 +0100 Subject: fix debian packages generation (invalid warning silencing) During dh_shlibdeps, we silence some plugin-related warnings using "grep -v". grep is the last command of the line, and returns 1 on match. Therefore, the whole make step fails. This patch merges the two grep commands, and ignores the grep return value. Change-Id: I1237162ab3c9937dbc340e5a2fce7ec779a19f39 Signed-off-by: Gabriel Ganne --- build-root/deb/debian/rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build-root') diff --git a/build-root/deb/debian/rules b/build-root/deb/debian/rules index 3a1dd2905c9..39be1b57e04 100755 --- a/build-root/deb/debian/rules +++ b/build-root/deb/debian/rules @@ -32,8 +32,7 @@ override_dh_install: override_dh_shlibdeps: @dh_shlibdeps 2>&1 \ - | grep -v "probably a plugin" \ - | grep -v "similar warnings have been skipped" + | { grep -v -e "probably a plugin" -e "similar warnings have been skipped" || true; } override_dh_strip: dh_strip --dbg-package=vpp-dbg -- cgit 1.2.3-korg