Page MenuHomeFreeBSD

Create symlinks to host tools on non-FreeBSD hosts
ClosedPublic

Authored by arichardson on Jan 21 2021, 10:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 17 2024, 6:00 AM
Unknown Object (File)
Oct 12 2024, 6:52 AM
Unknown Object (File)
Sep 30 2024, 9:20 AM
Unknown Object (File)
Sep 8 2024, 10:13 PM
Unknown Object (File)
Sep 8 2024, 6:17 PM
Unknown Object (File)
Sep 7 2024, 3:02 PM
Unknown Object (File)
Sep 5 2024, 6:29 AM
Unknown Object (File)
Sep 4 2024, 1:45 PM
Subscribers

Details

Summary

This is unnecessary when cross-building from Linux/macOS.
Additionally, cp -p appears to be broken on macOS Big Sur
(https://openradar.appspot.com/8957219).

For some unknown reason this commit appears to fix
freezes when building on macOS Big Sur.
This also fixes building in docker with volume mounts
with ACLs, since setting the ACL with cp -p fails otherwise.

Obtained From: CheriBSD
Tested By: gnn (macOS Big Sur), Nathaniel Wesley Filardo (docker)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36388
Build 33277: arc lint + arc unit

Event Timeline

arichardson retitled this revision from Create symlinks to host tools (#896) to Create symlinks to host tools.Jan 21 2021, 10:38 AM
arichardson retitled this revision from Create symlinks to host tools to Create symlinks to host tools on non-FreeBSD hosts.Jan 21 2021, 10:42 AM
arichardson edited the summary of this revision. (Show Details)
arichardson added a reviewer: imp.
arichardson added a subscriber: gnn.

We only need the copies on FreeBSD to avoid the issue you cited. On other systems, symlinks are fine.

This revision is now accepted and ready to land.Jan 22 2021, 4:26 PM

"freezes when building failures on macOS" in the commit message needs fixing