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
F139343454: D53751.id166416.diff
Thu, Dec 11, 1:11 AM
Unknown Object (File)
Wed, Dec 3, 8:42 PM
Unknown Object (File)
Wed, Dec 3, 4:09 PM
Unknown Object (File)
Tue, Nov 25, 6:05 AM
Unknown Object (File)
Tue, Nov 25, 3:40 AM
Unknown Object (File)
Thu, Nov 20, 3:37 PM
Unknown Object (File)
Tue, Nov 18, 4:35 PM
Unknown Object (File)
Tue, Nov 18, 7:35 AM
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