summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2018-05-09 18:32:30 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2018-05-09 18:32:30 +0800
commitb691de7163b074b4b45dfa9e5ca3bea21f9370f6 (patch)
tree82e148b0a533a303d701fcdf50dcf638ec1e766d
parentAdd app-admin/metricbeat (diff)
downloadpigfoot-b691de7163b074b4b45dfa9e5ca3bea21f9370f6.tar.gz
pigfoot-b691de7163b074b4b45dfa9e5ca3bea21f9370f6.tar.bz2
pigfoot-b691de7163b074b4b45dfa9e5ca3bea21f9370f6.zip
[app-admin/metricbeat] add for fields.yaml
-rw-r--r--app-admin/metricbeat/metricbeat-6.2.4.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-admin/metricbeat/metricbeat-6.2.4.ebuild b/app-admin/metricbeat/metricbeat-6.2.4.ebuild
index 74f5243..2d64b94 100644
--- a/app-admin/metricbeat/metricbeat-6.2.4.ebuild
+++ b/app-admin/metricbeat/metricbeat-6.2.4.ebuild
@@ -26,6 +26,7 @@ src_unpack() {
src_compile() {
GOPATH="${WORKDIR}" emake -C "${S}/metricbeat"
+ GOPATH="${WORKDIR}" emake fields -C "${S}/metricbeat"
}
src_install() {
@@ -44,6 +45,7 @@ src_install() {
insinto "/etc/${PN}"
doins ${PN}/metricbeat.yml
+ newins ${PN}/_meta/fields.generated.yml fields.yml
insinto "/etc/${PN}/module"
doins -r ${PN}/module/*
insinto "/etc/${PN}/modules.d"