aboutsummaryrefslogtreecommitdiffstats
path: root/build-root
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-06-08 19:49:40 -0500
committerChris Luke <chris_luke@cable.comcast.com>2016-06-09 01:38:02 +0000
commitb10427e06077dbe3a9ea9922b97941204001f6b9 (patch)
treee86909ff1ae36b6882ab3e1aa035e3f1200cced4 /build-root
parentf9618ee4843da063d33974c69ebd8e63845aedf6 (diff)
VPP-127 Removed spurious use of sudo
Change-Id: I1eb18fc6379db30fb802e3b929931788f54e7dc2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'build-root')
-rw-r--r--build-root/deb/debian/vpp.preinst2
-rw-r--r--build-root/rpm/vpp.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-root/deb/debian/vpp.preinst b/build-root/deb/debian/vpp.preinst
index f80861c6..d33cacfc 100644
--- a/build-root/deb/debian/vpp.preinst
+++ b/build-root/deb/debian/vpp.preinst
@@ -1,4 +1,4 @@
#!/bin/sh -e
# Add the vpp group
-sudo groupadd -f -r vpp
+groupadd -f -r vpp
diff --git a/build-root/rpm/vpp.spec b/build-root/rpm/vpp.spec
index a5b097ae..b02b2bfe 100644
--- a/build-root/rpm/vpp.spec
+++ b/build-root/rpm/vpp.spec
@@ -51,7 +51,7 @@ TODO: reference and describe only the .h files
%pre
# Add the vpp group
-sudo groupadd -f -r vpp
+groupadd -f -r vpp
%install
#