Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tar.gz packages for Darwin have unexpected /Library dir #8549

Closed
andrewkroh opened this issue Oct 3, 2018 · 3 comments
Closed

tar.gz packages for Darwin have unexpected /Library dir #8549

andrewkroh opened this issue Oct 3, 2018 · 3 comments

Comments

@andrewkroh
Copy link
Member

The Elastic licensed tar.gz packages for darwin have an unexpected /Library directory.

$ tar tf ~/Downloads/metricbeat-6.5.0-SNAPSHOT-darwin-x86_64.tar.gz  | grep Library
/Library/Application Support/Elastic/metricbeat/bin/metricbeat
$ tar tf ~/Downloads/packetbeat-6.5.0-SNAPSHOT-darwin-x86_64.tar.gz | grep Libr
/Library/Application Support/Elastic/packetbeat/bin/packetbeat
$ tar tf ~/Downloads/metricbeat-oss-6.5.0-SNAPSHOT-darwin-x86_64.tar.gz | grep Lib
@andrewkroh
Copy link
Member Author

I think I see the issue. This has the wrong path for a tar.gz package. Would you mind double-checking me on this @exekias.

files:
/Library/Application Support/{{.BeatVendor}}/{{.BeatName}}/bin/{{.BeatName}}{{.BinaryExt}}:
source: ../x-pack/{{.BeatName}}/build/golang-crossbuild/{{.BeatName}}-{{.GOOS}}-{{.Platform.Arch}}{{.BinaryExt}}

@exekias
Copy link
Contributor

exekias commented Oct 3, 2018

Ups, yes you are right, I think I mixed binary tar.gz with dmg distributions?

@andrewkroh
Copy link
Member Author

This is now fixed in 6.5 and master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants