HomeFreeBSD

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

Description

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

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
Differential Revision: https://reviews.freebsd.org/D44347

Details

Provenance
impAuthored on Mar 15 2024, 4:33 AM
Differential Revision
D44347: share/mk: Don't install only differing in case files on case insensitive fs
Parents
rGa00f9e4e8181: scsi: Stop installing both cam.4 and CAM.4
Branches
Unknown
Tags
Unknown