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

Bug#741304: add FHS exception for arch-indep in /usr/lib



On Thu, Mar 13, 2014 at 07:00:52PM +0100, Michael Biebl wrote:
> On Mon, Mar 10, 2014 at 06:39:20PM -0400, Joey Hess wrote:
> >    The FHS requirement that architecture-independent application-specific
> >    static files be located in /usr/share is relaxed to a suggestion.
> > 
> >    In particular, a subdirectory of /usr/lib may be used by a package
> >    (or a collection of packages) to hold a mixture of architecture-independent
> >    and architecture-dependent files. However, when a directory is
> >    entirely composed of architecture-independent files, it should be
> >    located in /usr/share.
> 
> There are various packages which ship only architecture-independent files in
> /usr/lib/<foo> directories. One example is [0].
> What's the rationale to explicitly make a distinction between
> directories holding only architecture-independent files and ones
> consisting of a mixture?

One rationale is that it is very easy to symlink /usr/lib/<foo> to
/usr/share/<foo> or to change the program to look in /usr/share rather than
/usr/lib, while it can be much more difficult to do that for the individual
files.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 


Reply to: