VPP-127: Make rpm/deb provide vpp group to access vpp-api 60/1460/1
authorEd Warnicke <[email protected]>
Wed, 8 Jun 2016 22:15:08 +0000 (17:15 -0500)
committerEd Warnicke <[email protected]>
Wed, 8 Jun 2016 22:15:08 +0000 (17:15 -0500)
Change-Id: I80b7f55034d64ad8360e29c669002948317c64ba
Signed-off-by: Ed Warnicke <[email protected]>
build-root/rpm/vpp.spec
vpp/conf/startup.conf
vpp/conf/startup.uiopcigeneric.conf

index 2513041..a5b097a 100644 (file)
@@ -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
index f96c573..ea6d800 100644 (file)
@@ -8,3 +8,7 @@ unix {
 api-trace {
   on
 }
+
+api-segment {
+  gid vpp
+}
index 69bdb71..03a89df 100644 (file)
@@ -12,3 +12,7 @@ dpdk {
 api-trace {
   on
 }
+
+api-segment {
+  gid vpp
+}