diff options
-rw-r--r-- | build-root/deb/debian/vpp.preinst | 4 | ||||
-rw-r--r-- | build-root/rpm/vpp.spec | 4 | ||||
-rw-r--r-- | vpp/conf/startup.conf | 4 | ||||
-rw-r--r-- | vpp/conf/startup.uiopcigeneric.conf | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/build-root/deb/debian/vpp.preinst b/build-root/deb/debian/vpp.preinst new file mode 100644 index 00000000..f80861c6 --- /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 2513041b..a5b097ae 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 diff --git a/vpp/conf/startup.conf b/vpp/conf/startup.conf index f96c5735..ea6d8009 100644 --- a/vpp/conf/startup.conf +++ b/vpp/conf/startup.conf @@ -8,3 +8,7 @@ unix { api-trace { on } + +api-segment { + gid vpp +} diff --git a/vpp/conf/startup.uiopcigeneric.conf b/vpp/conf/startup.uiopcigeneric.conf index 69bdb716..03a89dff 100644 --- a/vpp/conf/startup.uiopcigeneric.conf +++ b/vpp/conf/startup.uiopcigeneric.conf @@ -12,3 +12,7 @@ dpdk { api-trace { on } + +api-segment { + gid vpp +} |