summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-10-28 14:56:12 -0400
committerDave Barach <dave@barachs.net>2020-10-28 14:56:44 -0400
commita88f296c7f8f8df2058c9890d462f7937544f7e9 (patch)
tree681585e735ffcc0d008669264c1f1af9d64f0c30
parente4031131ccddd7c4eb683b36f1a97a65dcff008a (diff)
build: explicitly stop vpp in vpp.preinst
Otherwise, "dpkg -i <vpp-debian-packages>" hangs. This is a new behavior. Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I614e6d64b59df1753c8812fdab0f851c8181a7fe
-rw-r--r--src/pkg/debian/vpp.preinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/debian/vpp.preinst b/src/pkg/debian/vpp.preinst
index d33cacfc3fa..9abfe778d9d 100644
--- a/src/pkg/debian/vpp.preinst
+++ b/src/pkg/debian/vpp.preinst
@@ -2,3 +2,4 @@
# Add the vpp group
groupadd -f -r vpp
+start-stop-daemon --stop --exec /usr/bin/vpp || true