From b9c90775dadb231f404180a7a094a5ab020261cf Mon Sep 17 00:00:00 2001 From: Adrian Serrano Date: Fri, 4 Jan 2019 15:58:50 +0100 Subject: [PATCH] Replace beat binary in Elastic DMG distribution (#9884) The oss binary was used for the Elastic-licensed DMG. This replaces it with the binary from x-pack folder. Fixes #9883 --- 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 8ee3eeff51f8..a780f69c9bb6 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]