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

Resolve /usr/local/bin symlinks in hacks/lima-and-qemu #162

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

jandubois
Copy link
Member

All dylib references in the binaries and libs are updated to use @executable_path/.. to locate libs. In macOS Monterey (Public Beta) this is resolved not relative to the symlink, but relative to the symlink target.

To create a distro that works on Catalina/Big Sur and Monterey, the symlinks in the bin directory are resolved before packaging.

Symlinks still need to be stored for at least /usr/local/share/qemu so that qemu will still be able to find its data files.

Ref rancher-sandbox/rancher-desktop#518

All dylib references in the binaries and libs are updated to use
"@executable_path/.." to locate libs. In macOS Monterey (Public Beta)
this is resolved not relative to the symlink, but relative to the
symlink target.

To create a distro that works on Catalina/Big Sur *and* Monterey, the
symlinks in the bin directory are resolved before packaging.

Symlinks still need to be stored for at least /usr/local/share/qemu so
that qemu will still be able to find its data files.

Signed-off-by: Jan Dubois <[email protected]>
@jandubois jandubois added this to the v0.6.1 milestone Aug 20, 2021
@AkihiroSuda AkihiroSuda merged commit ee29c6b into lima-vm:master Aug 20, 2021
@jandubois jandubois deleted the monterey branch August 20, 2021 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants