#2843: Make ld.so.conf include files from /etc/ld.so.conf.d
-------------------------+--------------------------------------------------
Reporter: synthehol | Owner: lfs-book@…
Type: enhancement | Status: new
Priority: normal | Milestone: 6.9
Component: Book | Version: SVN
Severity: normal | Keywords: glibc dynamic loader ld.so.conf
-------------------------+--------------------------------------------------
Comment(by dj@…):
Replying to [comment:2 bdubbs@…]:
> the reason for most of the .d/ type directories is for distros to drop
in binary packages without editing files. That type of reasoning is not a
major consideration for a system like LFS.
>
I would disagree with the last statement, I've always disliked the
following syntax used in BLFS:
{{{
cat >> /etc/ld.so.conf << "EOF"
# Begin addition for foo
/opt/foo/lib
# End addition for foo
EOF
}}}
All my opinion of course, but the result of the above is a little sloppy
looking, and *.d directories are a major improvement in aesthetics and
usability, with only a very minor bump in complexity (and even that is
debatable as modular files logically organize into smaller to digest bits
for the user to understand).
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2843#comment:3>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page