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

Bruce Dubbs bruce.dubbs at gmail.com
Sun Apr 23 09:01:27 PDT 2017


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  .
>
> ; and then use e.g.:
>
>    /var/lib/lfs/unstripped-libs-for-debuggers	# clumsy-named dir for clarity.
> or
>    /var/lib/lfs/unstrppd4dbg
> or
>    /var/lib/lfs/dbg
> etc.

Originally we thought about using /tmp and then copying the files back and 
wiping /tmp, but decided just to keep the files around.  To me 
/var/lib/lfs/dbg/usr/lib/<filename> is a little long but we will consider 
inserting lib/lfs after /var.

   -- Bruce




More information about the lfs-book mailing list