Skip to content

Commit 12fdcb0

Browse files
Valentin Rothbergvrothberg
authored andcommitted
mac helper binaries: add default brew libexec path
After installing podman via brew, I expected a locally compiled one to work as well. But it failed as it could not find gvproxy. It turns out that brew installs it at /opt/homebrew/opt/podman/libexec/podman/gvproxy, so I want the directory to be part of the default look-up paths. Same applies to the `/usr/local/opt` paths used on Intel Macs. Also rearrange the order a bit. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
1 parent 370c898 commit 12fdcb0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/config/config_darwin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ func ifRootlessConfigPath() (string, error) {
3030

3131
var defaultHelperBinariesDir = []string{
3232
// Homebrew install paths
33-
"/usr/local/opt/podman/libexec",
33+
"/usr/local/opt/podman/libexec/podman",
34+
"/opt/homebrew/opt/podman/libexec/podman",
3435
"/opt/homebrew/bin",
35-
"/opt/homebrew/opt/podman/libexec",
3636
"/usr/local/bin",
3737
// default paths
3838
"/usr/local/libexec/podman",

0 commit comments

Comments
 (0)