summaryrefslogtreecommitdiffstats
path: root/build-root
diff options
context:
space:
mode:
Diffstat (limited to 'build-root')
-rw-r--r--build-root/deb/debian/vpp.preinst4
-rw-r--r--build-root/rpm/vpp.spec4
2 files changed, 8 insertions, 0 deletions
diff --git a/build-root/deb/debian/vpp.preinst b/build-root/deb/debian/vpp.preinst
new file mode 100644
index 00000000000..f80861c686e
--- /dev/null
+++ b/build-root/deb/debian/vpp.preinst
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+# Add the vpp group
+sudo groupadd -f -r vpp
diff --git a/build-root/rpm/vpp.spec b/build-root/rpm/vpp.spec
index 2513041bae9..a5b097aeec3 100644
--- a/build-root/rpm/vpp.spec
+++ b/build-root/rpm/vpp.spec
@@ -49,6 +49,10 @@ allocator (mheap.c), extendable printf-like interface built on top of vectors
time-based function calls (timer.c).
TODO: reference and describe only the .h files
+%pre
+# Add the vpp group
+sudo groupadd -f -r vpp
+
%install
#
# binaries