Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions x-pack/elastic-agent/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,10 @@ func packageAgent(requiredPackages []string, packagingFn func()) {
}

os.Setenv(agentDropPath, dropPath)
if runtime.GOARCH == "arm64" {
os.Setenv("PLATFORMS", runtime.GOOS+"/"+runtime.GOARCH)
defer os.Unsetenv("PLATFORMS")
}

// cleanup after build
defer os.RemoveAll(dropPath)
Expand Down