VPP-127: Make rpm/deb provide vpp group to access vpp-api
Change-Id: I005f971ec5bfbffc5ddd392ff5ae829186b2bf18
Signed-off-by: Ed Warnicke <eaw@cisco.com>
(cherry picked from commit 1f9933d9f0
)
Signed-off-by: Ed Warnicke <eaw@cisco.com>
This commit is contained in:
4
build-root/deb/debian/vpp.preinst
Normal file
4
build-root/deb/debian/vpp.preinst
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
# Add the vpp group
|
||||
sudo groupadd -f -r vpp
|
@ -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
|
||||
|
@ -8,3 +8,7 @@ unix {
|
||||
api-trace {
|
||||
on
|
||||
}
|
||||
|
||||
api-segment {
|
||||
gid vpp
|
||||
}
|
||||
|
@ -12,3 +12,7 @@ dpdk {
|
||||
api-trace {
|
||||
on
|
||||
}
|
||||
|
||||
api-segment {
|
||||
gid vpp
|
||||
}
|
||||
|
Reference in New Issue
Block a user