Changeset 63e8d0a for chapter06


Ignore:
Timestamp:
07/26/2014 10:56:45 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
2559640d
Parents:
ba9a546
Message:

Import latest lfs changes.

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

Location:
chapter06
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • chapter06/binutils.xml

    rba9a546 r63e8d0a  
    6969
    7070<screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen>
     71
     72    <para>Fix some LTO tests in the test suite:</para>
     73
     74<screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-testsuite-patch;</userinput></screen>
    7175
    7276    <para>The Binutils documentation recommends building Binutils outside of the
  • chapter06/coreutils.xml

    rba9a546 r63e8d0a  
    4141  <sect2 role="installation">
    4242    <title>Installation of Coreutils</title>
    43 
     43<!--
    4444    <para>First, fix a segfault in <command>shuf</command> program:</para>
    4545
    4646<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-shuf-segfault-patch;</userinput></screen>
     47-->
    4748
    4849    <para>POSIX requires that programs from Coreutils recognize character
    49     boundaries correctly even in multibyte locales. The following patch
    50     fixes this non-compliance and other internationalization-related bugs:</para>
    51 
    52 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen>
     50    boundaries correctly even in multibyte locales. The following patch fixes
     51    this non-compliance and other internationalization-related bugs.
     52    Afterwards make sure the timestamp for <filename>Makefile.in</filename> is
     53    later than all other files to prevent a <command>make</command>
     54    error:</para>
     55
     56<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-i18n-patch; &amp;&amp;
     57touch Makefile.in</userinput></screen>
    5358
    5459    <note>
  • chapter06/creatingdirs.xml

    rba9a546 r63e8d0a  
    5454
    5555    <para>The directory tree is based on the Filesystem Hierarchy Standard (FHS)
    56     (available at <ulink url="http://www.pathname.com/fhs/"/>). In addition to
    57     the FHS, we create compatibility symlinks for the <filename
    58     class="directory">man</filename>, <filename
    59     class="directory">doc</filename>, and <filename
    60     class="directory">info</filename> directories since many packages still try
    61     to install their documentation into <filename
    62     class="directory">/usr/&lt;directory&gt;</filename> or <filename
    63     class="directory">/usr/local/&lt;directory&gt;</filename> as opposed to
    64     <filename class="directory">/usr/share/&lt;directory&gt;</filename> or
    65     <filename class="directory">/usr/local/share/&lt;directory&gt;</filename>.
     56    (available at <ulink url="http://www.pathname.com/fhs/"/>).
    6657    The FHS also stipulates the existence of <filename
    6758    class="directory">/usr/local/games</filename> and <filename
  • chapter06/dbus.xml

    rba9a546 r63e8d0a  
    9494<screen><userinput remap="install">ln -sv /etc/machine-id /var/lib/dbus</userinput></screen>
    9595
    96     <para>Finally, generate a D-Bus UUID to avoid possible warnings
    97     when building some packages in BLFS:</para>
    98 
    99 <screen><userinput remap="install">dbus-uuidgen --ensure</userinput></screen>
    100 
    10196  </sect2>
    10297
  • chapter06/e2fsprogs.xml

    rba9a546 r63e8d0a  
    4545    <title>Installation of E2fsprogs</title>
    4646
    47     <para>First fix some problems with running regression tests in the LFS chroot
     47    <para>First fix a problem with running regression tests in the LFS chroot
    4848    environment:</para>
    4949
    50 <screen><userinput remap="pre">patch -Np1 -i ../&e2fsprogs-fix-test-patch;
    51 sed -i -e 's|^LD_LIBRARY_PATH.*|&amp;:/tools/lib|' tests/test_config</userinput></screen>
     50<screen><userinput remap="pre">sed -i -e 's|^LD_LIBRARY_PATH.*|&amp;:/tools/lib|' tests/test_config</userinput></screen>
    5251
    5352    <para>The E2fsprogs documentation recommends that the package be built in
     
    173172      <segtitle>Installed programs</segtitle>
    174173      <segtitle>Installed libraries</segtitle>
    175       <segtitle>Installed directory</segtitle>
     174      <segtitle>Installed directories</segtitle>
    176175
    177176      <seglistitem>
  • chapter06/flex.xml

    rba9a546 r63e8d0a  
    8585      <segtitle>Installed programs</segtitle>
    8686      <segtitle>Installed libraries</segtitle>
    87       <segtitle>Installed directories</segtitle>
     87      <segtitle>Installed directory</segtitle>
    8888
    8989      <seglistitem>
  • chapter06/gcc.xml

    rba9a546 r63e8d0a  
    4141  <sect2 role="installation">
    4242    <title>Installation of GCC</title>
    43 
     43<!--
    4444    <para>First fix a problem identified upstream that causes some
    4545    programs to fail:</para>
    4646
    4747<screen><userinput remap="pre">patch -Np1 -i ../&gcc-upstream-patch;</userinput></screen>
     48-->
    4849<!--
    4950    <para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following
     
    155156
    156157<screen><userinput remap="install">install -dm755 /usr/lib/bfd-plugins
    157 pushd /usr/lib/bfd-plugins
    158 
    159 if [ $(uname -m) == "i686" ]; then
    160    ln -sfv ../../libexec/gcc/i686-pc-linux-gnu/&gcc-version;/liblto_plugin.so
    161 else
    162    ln -sfv ../../libexec/gcc/x86_64-unknown-linux-gnu/&gcc-version;/liblto_plugin.so
    163 fi
    164 
    165 popd</userinput></screen>
     158ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so /usr/lib/bfd-plugins/</userinput></screen>
    166159
    167160    <para>Now that our final toolchain is in place, it is important to again ensure
  • chapter06/gdbm.xml

    rba9a546 r63e8d0a  
    8080
    8181    <segmentedlist>
    82       <segtitle>Installed program</segtitle>
     82      <segtitle>Installed programs</segtitle>
    8383      <segtitle>Installed libraries</segtitle>
    8484
  • chapter06/gperf.xml

    rba9a546 r63e8d0a  
    6363
    6464    <segmentedlist>
    65       <segtitle>Installed programs</segtitle>
     65      <segtitle>Installed program</segtitle>
    6666
    6767      <seglistitem>
  • chapter06/inetutils.xml

    rba9a546 r63e8d0a  
    5151    --localstatedir=/var   \
    5252    --disable-logger       \
    53     --disable-syslogd      \
    5453    --disable-whois        \
    5554    --disable-servers</userinput></screen>
     
    6564          pass messages to the System Log Daemon. Do not install it because
    6665          Util-linux installed a version earlier.</para>
    67         </listitem>
    68       </varlistentry>
    69 
    70       <varlistentry>
    71         <term><parameter>--disable-syslogd</parameter></term>
    72         <listitem>
    73           <para>This option prevents Inetutils from installing the System Log
    74           Daemon, which is installed with the Sysklogd package.</para>
    7566        </listitem>
    7667      </varlistentry>
  • chapter06/intltool.xml

    rba9a546 r63e8d0a  
    6565
    6666    <segmentedlist>
    67       <segtitle>Installed program</segtitle>
     67      <segtitle>Installed programs</segtitle>
    6868      <segtitle>Installed directories</segtitle>
    6969
  • chapter06/iproute2.xml

    rba9a546 r63e8d0a  
    6666    it is not possible to reliably run these tests from within the chroot
    6767    environment. If you wish to run these tests after booting into your new LFS
    68     system, ensure you select <filename>/proc/config.gz</filename>
    69     CONFIG_IKCONFIG_PROC (&quot;General setup&quot; -> &quot;Enable access to
    70     .config through /proc/config.gz&quot;) support into your kernel then run
     68    system, ensure you enable <filename>/proc/config.gz</filename> support
     69    in your kernel (&quot;General setup&quot; -> &quot;Enable access to
     70    .config through /proc/config.gz&quot; [CONFIG_IKCONFIG_PROC]), then run
    7171    'make alltests' from the <filename class="directory">testsuite/</filename>
    7272    subdirectory.</para>
  • chapter06/kbd.xml

    rba9a546 r63e8d0a  
    271271        <term><command>psfaddtable</command></term>
    272272        <listitem>
    273           <para>A link to <command>psfxtable</command></para>
     273          <para>Adds a Unicode character table to a console font</para>
    274274          <indexterm zone="ch-system-kbd psfaddtable">
    275275            <primary sortas="b-psfaddtable">psfaddtable</primary>
     
    281281        <term><command>psfgettable</command></term>
    282282        <listitem>
    283           <para>A link to <command>psfxtable</command></para>
     283          <para>Extracts the embedded Unicode character table from a console
     284          font</para>
    284285          <indexterm zone="ch-system-kbd psfgettable">
    285286            <primary sortas="b-psfgettable">psfgettable</primary>
     
    291292        <term><command>psfstriptable</command></term>
    292293        <listitem>
    293           <para>A link to <command>psfxtable</command></para>
     294          <para>Removes the embedded Unicode character table from a console
     295          font</para>
    294296          <indexterm zone="ch-system-kbd psfstriptable">
    295297            <primary sortas="b-psfstriptable">psfstriptable</primary>
     
    301303        <term><command>psfxtable</command></term>
    302304        <listitem>
    303           <para>Handle Unicode character tables for console fonts</para>
     305          <para>Handles Unicode character tables for console fonts</para>
    304306          <indexterm zone="ch-system-kbd psfxtable">
    305307            <primary sortas="b-psfxtable">psfxtable</primary>
  • chapter06/kmod.xml

    rba9a546 r63e8d0a  
    7979<screen><userinput remap="test">make check</userinput></screen>
    8080
    81     <para>Install the package and man pages, and create symlinks for
     81    <para>Install the package, and create symlinks for
    8282    compatibility with Module-Init-Tools (the package that previously handled
    8383    Linux kernel modules):</para>
     
    9898    <segmentedlist>
    9999      <segtitle>Installed programs</segtitle>
    100       <segtitle>Installed libraries</segtitle>
     100      <segtitle>Installed library</segtitle>
    101101
    102102      <seglistitem>
  • chapter06/libpipeline.xml

    rba9a546 r63e8d0a  
    7777
    7878    <segmentedlist>
    79       <segtitle>Installed libraries</segtitle>
     79      <segtitle>Installed library</segtitle>
    8080
    8181      <seglistitem>
  • chapter06/mpfr.xml

    rba9a546 r63e8d0a  
    5353            --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen>
    5454
    55     <para>Compile the package:</para>
     55    <para>Compile the package and generate the HTML documentation:</para>
    5656
    57 <screen><userinput remap="make">make</userinput></screen>
     57<screen><userinput remap="make">make
     58make html</userinput></screen>
    5859
    5960    <important>
     
    6667<screen><userinput remap="test">make check</userinput></screen>
    6768
    68     <para>Install the package:</para>
     69    <para>Install the package and its documentation:</para>
    6970
    70 <screen><userinput remap="install">make install</userinput></screen>
    71 
    72     <para>Install the documentation:</para>
    73 
    74 <screen><userinput remap="make">make html
    75 </userinput><userinput remap="install">make install-html</userinput></screen>
     71<screen><userinput remap="install">make install
     72make install-html</userinput></screen>
    7673
    7774  </sect2>
  • chapter06/procps.xml

    rba9a546 r63e8d0a  
    129129        <term><command>pidof</command></term>
    130130        <listitem>
    131           <para>Looks up processes based on their name and other attributes</para>
     131          <para>Reports the PIDs of the given programs</para>
    132132          <indexterm zone="ch-system-procps pidof">
    133133            <primary sortas="b-pidof">pidof</primary>
  • chapter06/systemd.xml

    rba9a546 r63e8d0a  
    6363    <para>Prepare systemd for compilation:</para>
    6464
    65 <screen><userinput remap="configure">./configure --prefix=/usr                         \
     65<screen><userinput remap="configure">./configure --prefix=/usr                                           \
    6666            --sysconfdir=/etc                                       \
    6767            --localstatedir=/var                                    \
  • chapter06/texinfo.xml

    rba9a546 r63e8d0a  
    8585    recreated, the following optional commands will accomplish the task:</para>
    8686
    87 <screen role="nodump"><userinput>cd /usr/share/info
     87<screen role="nodump"><userinput>pushd /usr/share/info
    8888rm -v dir
    8989for f in *
    90 do install-info $f dir 2&gt;/dev/null
    91 done</userinput></screen>
     90  do install-info $f dir 2&gt;/dev/null
     91done
     92popd</userinput></screen>
    9293
    9394  </sect2>
  • chapter06/util-linux.xml

    rba9a546 r63e8d0a  
    4646    class="directory">/var/lib/hwclock</filename> directory instead of the
    4747    usual <filename class="directory">/etc</filename> directory as the
    48     location for the <filename>adjtime</filename> file. To make the
    49     <command>hwclock</command> program FHS-compliant, run the
    50     following:</para>
    51 
    52 <screen><userinput remap="pre">sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
    53           $(grep -rl '/etc/adjtime' .)
    54 
    55 mkdir -pv /var/lib/hwclock</userinput></screen>
     48    location for the <filename>adjtime</filename> file.  First create a directory
     49    to enable storage for the <command>hwclock</command> program:</para>
     50
     51<screen><userinput remap="pre">mkdir -pv /var/lib/hwclock</userinput></screen>
    5652
    5753  </sect2>
     
    6258    <para>Prepare Util-linux for compilation:</para>
    6359
    64 <screen><userinput remap="configure">./configure</userinput></screen>
     60<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock</userinput></screen>
    6561
    6662    <para>Compile the package:</para>
     
    8076    </warning>
    8177
    82     <note><para>Two tests, last/ipv6 and last/last, fail in the chroot environment
    83     due to the DNS resolver not being active yet.  If the tests are rerun after
    84     booting, they pass.</para></note>
    85 
    8678    <screen><userinput remap="test">chown -Rv nobody .
    8779su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
     
    10395      <seglistitem>
    10496        <seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu,
    105         chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart, dmesg,
     97        chrt, col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg,
    10698        eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck,
    10799        fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock,
    108100        i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to
    109101        last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu,
    110         lslocks, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
     102        lslocks, lslogins, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
    111103        more, mount, mountpoint, namei, partx, pg, pivot_root, prlimit, raw,
    112104        readprofile, rename, renice, resizepart, rev, rtcwake, script,
     
    118110        <seg>libblkid.{a,so}, libmount.{a,so}, libuuid.{a,so}</seg>
    119111
    120         <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
    121         /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg>
     112        <seg>/etc/terminal-colors.d, /usr/include/blkid, /usr/include/libmount,
     113        /usr/include/uuid, /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg>
    122114      </seglistitem>
    123115    </segmentedlist>
     
    269261          <indexterm zone="ch-system-util-linux ctrlaltdel">
    270262            <primary sortas="b-ctrlaltdel">ctrlaltdel</primary>
    271           </indexterm>
    272         </listitem>
    273       </varlistentry>
    274 
    275       <varlistentry id="cytune">
    276         <term><command>cytune</command></term>
    277         <listitem>
    278           <para>Tunes the parameters of the serial line drivers for
    279           Cyclades cards</para>
    280           <indexterm zone="ch-system-util-linux cytune">
    281             <primary sortas="b-cytune">cytune</primary>
    282263          </indexterm>
    283264        </listitem>
     
    647628      </varlistentry>
    648629
     630      <varlistentry id="lslogins">
     631        <term><command>lslogins</command></term>
     632        <listitem>
     633          <para>Lists information about users, groups and system accounts</para>
     634          <indexterm zone="ch-system-util-linux lslogins">
     635            <primary sortas="b-lslogins">lslogins</primary>
     636          </indexterm>
     637        </listitem>
     638      </varlistentry>
     639
    649640      <varlistentry id="mcookie">
    650641        <term><command>mcookie</command></term>
  • chapter06/vim.xml

    rba9a546 r63e8d0a  
    120120    process, refer to the Vim documentation and the Vim installation page
    121121    in the BLFS book at <ulink
    122     url="&blfs-root;view/svn/postlfs/editors.html#postlfs-editors-vim"/>.</para>
     122    url="&blfs-root;view/svn/postlfs/vim.html"/>.</para>
    123123
    124124  </sect2>
     
    196196    <segmentedlist>
    197197      <segtitle>Installed programs</segtitle>
    198       <segtitle>Installed directory</segtitle>
     198      <segtitle>Installed directories</segtitle>
    199199
    200200      <seglistitem>
     
    202202       (link to vim), view (link to vim), vim, vimdiff (link to vim), vimtutor,
    203203       and xxd</seg>
    204         <seg>/usr/share/vim</seg>
     204        <seg>/usr/share/doc/vim-&vim-version;, /usr/share/vim</seg>
    205205      </seglistitem>
    206206    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.