You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cho-m Yes, it should be binary specific and be indicated somehow in a bottle/tab/manifest so we don't break :all bottles. Anything that needs code signed would, by definition, not be possible to be :all.
This change skips the relocation process for bottles on Apple Silicon Macs
when using the default prefix (/opt/homebrew). Relocation was initially
needed for Intel Macs to avoid wide-reaching replacements with false positives,
but is unnecessary for Apple Silicon where the default prefix is unique.
Benefits:
- Simplifies and speeds up bottle pouring on Apple Silicon
- Potentially enables code-signing of homebrew-core packages
- Improves security by avoiding binary modification post-build
A --force-bottle-relocation flag is added for edge cases where
relocation might still be needed.
FixesHomebrew#19247
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
We should avoid using e.g.
@@HOMEBREW_PREFIX@@
etc. relocation replacements on Apple Silicon (and maybe Linux x86_64/arm64 but not/never macOS Intel).These were needed initially because replacing
/usr/local
on macOS Intel was far too wide-reaching with too many false positives and negatives.What is the motivation for the feature?
This would:
How will the feature be relevant to at least 90% of Homebrew users?
Increased speed and security for homebrew-core.
What alternatives to the feature have been considered?
The text was updated successfully, but these errors were encountered: