Ignore:
Timestamp:
02/18/2014 06:46:43 PM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
b83d43e
Parents:
aa976fe
Message:

Add a patch to glibc for FHS compatibility.
More text/whitespace changes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10482 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    raa976fe r4028929  
    5959<screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen>
    6060
     61    <para>Some of the Glibc programs use non-FHS compilant
     62    <filename class="directory">/var/db</filename> directory to store
     63    their runtime data. Apply the following patch to make such programs
     64    store their runtime data in the FHS-compliant locations:</para>
     65
     66<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
     67
    6168    <para>The Glibc build system is self-contained and will install
    6269    perfectly, even though the compiler specs file and linker are still
     
    168175
    169176<screen><userinput remap="install">make install</userinput></screen>
     177
     178    <para>Install the configuration file and runtime directory for
     179    <command>nscd</command>:</para>
     180
     181<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf
     182mkdir -pv /var/cache/nscd</userinput></screen>
    170183
    171184    <para>The locales that can make the system respond in a different language
     
    414427        /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
    415428        /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
    416         /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/glibc,
    417         /usr/lib/locale, /usr/share/i18n, /usr/share/zoneinfo, /var/db</seg>
     429        /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
     430        /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
     431        /var/cache/nscd, and /var/lib/nss_db</seg>
    418432      </seglistitem>
    419433    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.