Re: For a cross-compiling toolchain, does it matter if /usr/bin/* links are symbolic or hard?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 12, 2015 at 4:11 AM, Jonathan Dieter <jdieter@xxxxxxxxx> wrote:
> I'm reviewing nacl-binutils (https://bugzilla.redhat.com/show_bug.cgi?i
> d=1270355), which has hard links from /usr/x86_64-nacl/* to
> /usr/bin/x86_64-nacl-*.  According to https://fedoraproject.org/wiki/Pa
> ckaging_Cross_Compiling_Toolchains, these should be symlinks, and
> rpmlint complains about cross-directory-hard-links.  Is there any
> reason to convert these to symlinks or can we just leave them as hard
> links?
>
> Thanks,
> Jonathan

Thereis is, generally, no good excuse for a hardlink in an RPM. The
symlinks help indicate where the component actually resides, and the
relevant software package, and the target of the symlink is easy to
discover. The other member of a set of hardlinks is nowhere so easily
traced, and it becomes unclear if modifying one should modify both.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux