build: explicitly stop vpp in vpp.preinst 52/29652/1
authorDave Barach <dave@barachs.net>
Wed, 28 Oct 2020 18:56:12 +0000 (14:56 -0400)
committerDave Barach <dave@barachs.net>
Wed, 28 Oct 2020 18:56:44 +0000 (14:56 -0400)
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

src/pkg/debian/vpp.preinst

index d33cacf..9abfe77 100644 (file)
@@ -2,3 +2,4 @@
 
 # Add the vpp group
 groupadd -f -r vpp
+start-stop-daemon --stop --exec /usr/bin/vpp || true