aboutsummaryrefslogtreecommitdiffstats
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:42 +0000
commit419e65629c83552bcc3142a09f0856d7fe3f6584 (patch)
tree6bf900ce4d3eef1a04dc038d871c528b6adc2255
parent90da24356f2d00801fa492b9fa40d8e10ebdb7bf (diff)
VPP-127 Removed spurious use of sudo
Change-Id: I1eb18fc6379db30fb802e3b929931788f54e7dc2 Signed-off-by: Ed Warnicke <eaw@cisco.com>
-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 f80861c686e..d33cacfc3fa 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 a5b097aeec3..b02b2bfe8ef 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
#