From 3c1f5321e5ae2810b4e6b64c0d75fb548a85a22f Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Wed, 8 Jun 2016 17:15:08 -0500 Subject: VPP-127: Make rpm/deb provide vpp group to access vpp-api Change-Id: I005f971ec5bfbffc5ddd392ff5ae829186b2bf18 Signed-off-by: Ed Warnicke (cherry picked from commit 1f9933d9f0c4615334f4af168dc063a7f1f2d649) Signed-off-by: Ed Warnicke --- build-root/deb/debian/vpp.preinst | 4 ++++ build-root/rpm/vpp.spec | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 build-root/deb/debian/vpp.preinst (limited to 'build-root') 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 -- cgit 1.2.3-korg