Page MenuHomeFreeBSD

share/mk: Don't install only differing in case files on case insensitive fs
ClosedPublic

Authored by imp on Mar 13 2024, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 23, 5:03 AM
Unknown Object (File)
Sat, Jan 18, 6:39 AM
Unknown Object (File)
Nov 23 2024, 8:44 PM
Unknown Object (File)
Nov 23 2024, 2:37 AM
Unknown Object (File)
Nov 23 2024, 12:22 AM
Unknown Object (File)
Nov 20 2024, 10:04 AM
Unknown Object (File)
Nov 19 2024, 8:49 PM
Unknown Object (File)
Nov 17 2024, 9:21 PM
Subscribers

Details

Summary

MacOS has case insensitive filesystems by default. So trying to link
between foo.X and FOO.X causes an error of some sort since we unlink the
old foo file destroying the newly installed foo due to the insensitive
nature of the FS. Assume that this is true on darwin/macos, though it is
only try by default there.

Perhaps install should grow smarts to know when this is the case, though
that looked much trickier. There didn't seem to be a flag to check. This
would be better, imho, since we could still write the METALOG data
correctly (images created from these metalogs are imperfect due to this
relatively issue...).

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56590
Build 53478: arc lint + arc unit