From 1f9933d9f0c4615334f4af168dc063a7f1f2d649 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Wed, 8 Jun 2016 17:15:08 -0500 Subject: [PATCH] VPP-127: Make rpm/deb provide vpp group to access vpp-api Change-Id: I80b7f55034d64ad8360e29c669002948317c64ba Signed-off-by: Ed Warnicke --- build-root/rpm/vpp.spec | 4 ++++ vpp/conf/startup.conf | 4 ++++ vpp/conf/startup.uiopcigeneric.conf | 4 ++++ 3 files changed, 12 insertions(+) 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 diff --git a/vpp/conf/startup.conf b/vpp/conf/startup.conf index f96c57351ba..ea6d800910b 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 69bdb716218..03a89dff70f 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 +} -- 2.16.6