[lfs-book] r11226 - in trunk/BOOK: . chapter01 chapter06

akhiezer lfs65 at cruziero.com
Mon Apr 24 10:30:18 PDT 2017


> From: Bruce Dubbs <bruce.dubbs at gmail.com>
> Date: Sun, 23 Apr 2017 11:01:27 -0500
>
> akhiezer wrote:
> >> From: bdubbs at higgs.linuxfromscratch.org
> >> Date: Sun, 23 Apr 2017 03:28:50 -0000
> >>
> >> Author: bdubbs
> >> Date: Sat Apr 22 20:28:50 2017
> >> New Revision: 11226
> >>
> >> Log:
> >> Add instructions to save debugging information for selected libraries when
> >> stripping at the end of Chapter 6.
> > [...]
> >> +mkdir -p /var/dbg/lib /var/dbg/usr/lib
> >
> >
> > Instead of creating /var/dbg , why not use the already-existing /var/lib
> > ; and use a named per-'application' dir under there, in usual way -
> > e.g. :
> >
> >    /var/lib/lfs	# the named per-application subdir of /var/lib  .
[...]
> /var/lib/lfs/dbg/usr/lib/<filename> is a little long but we will consider 
> inserting lib/lfs after /var.


On reflection, /var/... is probably not right, as it's not really
dynamic/'variable-state' info (cf e.g. /var/lib/tripwire/report/) :
probly, and simply, one of /{,usr{,/local}}/lib*/lfs/...... is most
appropriate, at least re FHS.



akh





--


More information about the lfs-book mailing list