Changeset 4028929


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

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • chapter03/patches.xml

    raa976fe r4028929  
    4040        <para>Download: <ulink url="&patches-root;&coreutils-i18n-patch;"/></para>
    4141        <para>MD5 sum: <literal>&coreutils-i18n-patch-md5;</literal></para>
     42      </listitem>
     43    </varlistentry>
     44
     45    <varlistentry>
     46      <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
     47      <listitem>
     48        <para>Download: <ulink url="&patches-root;&glibc-fhs-patch;"/></para>
     49        <para>MD5 sum: <literal>&glibc-fhs-patch-md5;</literal></para>
    4250      </listitem>
    4351    </varlistentry>
  • chapter05/xz.xml

    raa976fe r4028929  
    77
    88<sect1 id="ch-tools-xz" role="wrap">
    9   <?dbhtml filename="xz-utils.html"?>
     9  <?dbhtml filename="xz.html"?>
    1010
    1111  <sect1info condition="script">
    12     <productname>xz-utils</productname>
     12    <productname>xz</productname>
    1313    <productnumber>&xz-version;</productnumber>
    1414    <address>&xz-url;</address>
     
    4242
    4343  <sect2 role="installation">
    44     <title>Installation of Xz-Utils</title>
     44    <title>Installation of Xz</title>
    4545
    4646    <para>Prepare Xz for compilation:</para>
  • chapter06/flex.xml

    raa976fe r4028929  
    141141      </varlistentry>
    142142
    143       <varlistentry id="libfl.so">
    144         <term><filename class="libraryfile">libfl.so</filename></term>
     143      <varlistentry id="libfl">
     144        <term><filename class="libraryfile">libfl</filename></term>
    145145        <listitem>
    146146          <para>The <filename class="libraryfile">flex</filename> library</para>
    147           <indexterm zone="ch-system-flex libfl.so">
    148             <primary sortas="c-libfl.so">libfl.so</primary>
     147          <indexterm zone="ch-system-flex libfl">
     148            <primary sortas="c-libfl">libfl</primary>
    149149          </indexterm>
    150150        </listitem>
  • 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>
  • chapter06/mpfr.xml

    raa976fe r4028929  
    4444    <para>Prepare MPFR for compilation:</para>
    4545
    46 <screen><userinput remap="configure">./configure  --prefix=/usr        \
    47              --enable-thread-safe \
    48              --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
     46<screen><userinput remap="configure">./configure --prefix=/usr        \
     47            --enable-thread-safe \
     48            --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
    4949
    5050    <para>Compile the package:</para>
  • chapter06/xz.xml

    raa976fe r4028929  
    77
    88<sect1 id="ch-system-xz" role="wrap">
    9   <?dbhtml filename="xz-utils.html"?>
     9  <?dbhtml filename="xz.html"?>
    1010
    1111  <sect1info condition="script">
    12     <productname>xz-utils</productname>
     12    <productname>xz</productname>
    1313    <productnumber>&xz-version;</productnumber>
    1414    <address>&xz-url;</address>
  • patches.ent

    raa976fe r4028929  
    1414<!ENTITY coreutils-i18n-patch-md5 "54c99871cd0ca20f29bdc9462e27f0df">
    1515<!ENTITY coreutils-i18n-patch-size "140 KB">
     16
     17<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
     18<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
     19<!ENTITY glibc-fhs-patch-size "2.8 KB">
    1620
    1721<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
Note: See TracChangeset for help on using the changeset viewer.