projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d216b
)
net-analyzer/netdata: Add fcaps for xenstat.plugin
author
Craig Andrews
<candrews@gentoo.org>
Sun, 3 Nov 2019 17:42:56 +0000
(12:42 -0500)
committer
Craig Andrews
<candrews@gentoo.org>
Sun, 3 Nov 2019 17:43:24 +0000
(12:43 -0500)
Bug: https://github.com/gentoo/gentoo/pull/13515
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
net-analyzer/netdata/netdata-9999.ebuild
patch
|
blob
|
history
diff --git
a/net-analyzer/netdata/netdata-9999.ebuild
b/net-analyzer/netdata/netdata-9999.ebuild
index 183c7fd636cab09640dbe08ee567c0c50805ff59..5bf3bf1042d3a5caa4faed01a52bca81183cc287 100644
(file)
--- a/
net-analyzer/netdata/netdata-9999.ebuild
+++ b/
net-analyzer/netdata/netdata-9999.ebuild
@@
-121,3
+121,9
@@
src_install() {
insinto /etc/netdata
doins system/netdata.conf
}
+
+pkg_postinst() {
+ if use xen ; then
+ fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin'
+ fi
+}