From 8a429805d01ce1a8915aedefae0c3392c3070e85 Mon Sep 17 00:00:00 2001 From: Adrian Serrano Date: Fri, 4 Jan 2019 17:17:04 +0100 Subject: [PATCH] Replace beat binary in Elastic DMG distribution (#9884) (#9890) The oss binary was used for the Elastic-licensed DMG. This replaces it with the binary from x-pack folder. Fixes #9883 (cherry picked from commit b9c90775dadb231f404180a7a094a5ab020261cf) --- dev-tools/packaging/packages.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-tools/packaging/packages.yml b/dev-tools/packaging/packages.yml index e0c3f2e6d8f9..d098de745852 100644 --- a/dev-tools/packaging/packages.yml +++ b/dev-tools/packaging/packages.yml @@ -366,6 +366,10 @@ specs: spec: <<: *macos_beat_pkg_spec <<: *elastic_license_for_macos_pkg + files: + /Library/Application Support/{{.BeatVendor}}/{{.BeatName}}/bin/{{.BeatName}}{{.BinaryExt}}: + mode: 0755 + source: ../x-pack/{{.BeatName}}/build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}} - os: linux types: [tgz]