On Tue, 6 Mar 2018, Todd Zullinger wrote:
... snip ...
The git package uses hardlinks and includes some duplication of binaries precisely to avoid cross-directory hardlinks. That allows /usr/bin and /usr/libexec to be mounted on different file systems.
i was about to point out that, in fact, the git-core package *does* hardlink across directories (that is, /usr/bin/git has a ton of hardlinks from /usr/libexec/git-core ...
It's not all that common to do that, I'm sure.
But rpmlint warns about such cross-directory hardlinks. While working on the git packaging I used the support in upstream git's Makefile (NO_CROSS_DIRECTORY_HARDLINKS):
https://src.fedoraproject.org/rpms/git/c/6ef5f1f7232That change was made in the master (rawhide) branch. It will be part of Fedora 28. It's not a change worth applying to other releases by itself, so I don't expect to see it pushed to the current Fedora 26/27 releases.
... ah, so the replacement of those cross-directory hardlinks with symlinks will happen in F28, is that what you're saying?
rday