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)
Sun, Mar 10, 5:59 PM
Unknown Object (File)
Fri, Mar 8, 4:44 PM
Unknown Object (File)
Feb 27 2024, 4:17 AM
Unknown Object (File)
Jan 7 2024, 10:34 PM
Unknown Object (File)
Dec 25 2023, 12:34 AM
Unknown Object (File)
Dec 20 2023, 7:34 AM
Unknown Object (File)
Dec 18 2023, 11:27 AM
Unknown Object (File)
Dec 14 2023, 10:43 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