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

(cherry picked from commit d2a824c29d6925ba8675a811aa81f2ad7d92129d)

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
rGae8398452bd3: flua: Add hash module
Branches
Unknown
Tags
Unknown