Code Review
/
barometer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
0e0c288
)
Merge "Replace “CapabilityBoundingSet=” line instead of appending"
author
Emma Foley
<emma.l.foley@intel.com>
Mon, 21 Aug 2017 16:03:43 +0000
(16:03 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Mon, 21 Aug 2017 16:03:43 +0000
(16:03 +0000)
ci/utility/collectd_build_rpm.sh
patch
|
blob
|
history
diff --git
a/ci/utility/collectd_build_rpm.sh
b/ci/utility/collectd_build_rpm.sh
index
6027574
..
e66a5b9
100755
(executable)
--- a/
ci/utility/collectd_build_rpm.sh
+++ b/
ci/utility/collectd_build_rpm.sh
@@
-24,7
+24,7
@@
$COLLECTD_DIR/build.sh
$COLLECTD_DIR/configure
sed --regexp-extended \
--in-place=".bak" \
- --expression="
/ProtectHome=true/a CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_RAWIO
" \
+ --expression="
s/^CapabilityBoundingSet=/CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_RAWIO/g
" \
$COLLECTD_DIR/contrib/systemd.collectd.service
make dist