Page MenuHomeFreeBSD

Use install instead of cp to copy bootstrap tools
ClosedPublic

Authored by des on Fri, Nov 14, 2:59 AM.
Tags
None
Referenced Files
F136635651: D53751.diff
Tue, Nov 18, 4:35 PM
Unknown Object (File)
Tue, Nov 18, 7:35 AM
Unknown Object (File)
Sat, Nov 15, 2:20 AM
Unknown Object (File)
Sat, Nov 15, 12:00 AM
Unknown Object (File)
Sat, Nov 15, 12:00 AM
Unknown Object (File)
Fri, Nov 14, 10:45 PM
Unknown Object (File)
Fri, Nov 14, 9:24 PM
Unknown Object (File)
Fri, Nov 14, 12:38 PM
Subscribers

Details

Summary

We need to preserve modification times on bootstrap tools, but cp -p
also tries to preserve flags, which fails if OBJROOT is on NFS. A -N
option was added to cp for this purpose, but trying to use that would
break cross-building on hosts that don't have that option. The best
remaining option is install -p, which we already assume is present.

PR: 275030

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Fri, Nov 14, 2:59 AM
Makefile.inc1
2814–2817

This comment really ought to be updated, we haven't used links here for some time

Makefile.inc1
2814–2817

Agreed, but it's everywhere including several variable and target names so I figured let's just fix the immediate issue first and worry about cosmetics later.

des marked an inline comment as done.Fri, Nov 14, 2:37 PM
This revision is now accepted and ready to land.Fri, Nov 14, 5:20 PM