Changes in / [8e6babe:c6f58f47]


Ignore:
Files:
56 edited

Legend:

Unmodified
Added
Removed
  • chapter07/chapter07.xml

    r8e6babe rc6f58f47  
    2525  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texinfo.xml"/>
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
    27  
     27
    2828<!--
    2929  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/>
  • chapter07/cleanup.xml

    r8e6babe rc6f58f47  
    1010
    1111  <title>Cleaning up and Saving the Temporary System</title>
    12  
     12
    1313  <sect2>
    1414    <title>Cleaning</title>
     
    2727
    2828    <para>
    29       The current system size is now about 3 GB, however 
     29      The current system size is now about 3 GB, however
    3030      the /tools directory is no longer needed. It uses about
    3131      1 GB of disk space.  Delete it now:
     
    5454      linkend="chapter-building-system"/>, the temporary files will be
    5555      overwritten. So it may be a good idea to do a backup of the current
    56       system as described below. 
     56      system as described below.
    5757    </para></note>
    58  
     58
    5959    <para>
    6060      The following steps are performed from outside the chroot
     
    8080        Take extra care about the commands you're going to run as mistakes
    8181        here can modify your host system. Be aware that the
    82         environment variable <envar>LFS</envar> 
    83         is set for user <systemitem class="username">lfs</systemitem> by default 
    84         but may <emphasis>not</emphasis> be set for 
     82        environment variable <envar>LFS</envar>
     83        is set for user <systemitem class="username">lfs</systemitem> by default
     84        but may <emphasis>not</emphasis> be set for
    8585        <systemitem class="username">root</systemitem>.
    8686     </para>
    8787     <para>
    88         Whenever commands are to be executed by <systemitem class="username">root</systemitem>, 
     88        Whenever commands are to be executed by <systemitem class="username">root</systemitem>,
    8989        make sure you have set <envar>LFS</envar>.
    9090     </para>
     
    106106
    107107    <para>
     108<<<<<<< HEAD
     109      Make sure you have at least 1 GB free disk space (the source tarballs
     110      will be included in the backup archive) in the home directory of user
     111      <systemitem class="username">root</systemitem>.
     112=======
    108113      Note that the instructions below specify the home directory of the host
    109114      system's <systemitem class="username">root</systemitem> user, which is
    110115      typically found on the root filesystem.
     116>>>>>>> 8e6babecd0d75542a01eedfde32556879733f842
    111117    </para>
    112118
    113119    <para>
    114120      Replace <envar>$HOME</envar> by a directory of your choice if you
    115       do not want to have the backup stored in <systemitem 
     121      do not want to have the backup stored in <systemitem
    116122      class="username">root</systemitem>'s home directory.
    117123    </para>
     
    126132          long time (over 10 minutes) even on a resonably fast system.
    127133       </para>
     134<<<<<<< HEAD
     135
     136       <para>
     137          Also, ensure the <envar>LFS</envar> environment variable is set
     138          for the root user.
     139       </para>
     140=======
     141>>>>>>> 8e6babecd0d75542a01eedfde32556879733f842
    128142    </note>
    129143
    130 <screen role="nodump" revision="sysv"><userinput>cd $LFS 
     144<screen role="nodump" revision="sysv"><userinput>cd $LFS
    131145tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz .</userinput></screen>
    132146
    133 <screen role="nodump" revision="systemd"><userinput>cd $LFS 
     147<screen role="nodump" revision="systemd"><userinput>cd $LFS
    134148tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz .</userinput></screen>
    135149
     150<<<<<<< HEAD
     151    <para>
     152      Replace <envar>$HOME</envar> by a directory of your choice if you
     153      do not want to have the backup stored in <systemitem
     154      class="username">root</systemitem>'s home directory.
     155    </para>
     156=======
     157>>>>>>> 8e6babecd0d75542a01eedfde32556879733f842
    136158  </sect2>
    137159
     
    142164      In case some mistakes have been made and you need to start over, you can
    143165      use this backup to restore the system and save some recovery time.
    144       Since the sources are located under 
     166      Since the sources are located under
    145167      <filename class="directory">$LFS</filename>, they are included in the
    146168      backup archive as well, so they do not need to be downloaded again. After
     
    153175
    154176    <warning><para>The following commands are extremly dangerous.  If
    155     you run <command>rm -rf ./*</command> as the root user and you 
    156     do not change to the $LFS directory or the <envar>LFS</envar> 
    157     environment variable is not set for the root user, it will destroy 
     177    you run <command>rm -rf ./*</command> as the root user and you
     178    do not change to the $LFS directory or the <envar>LFS</envar>
     179    environment variable is not set for the root user, it will destroy
    158180    your entire host system.  YOU ARE WARNED.</para></warning>
    159181
    160 <screen role="nodump" revision="sysv"><computeroutput>cd $LFS 
    161 rm -rf ./* 
     182<screen role="nodump" revision="sysv"><computeroutput>cd $LFS
     183rm -rf ./*
    162184tar -xpf $HOME/lfs-temp-tools-&version;.tar.xz</computeroutput></screen>
    163185
    164 <screen role="nodump" revision="systemd"><computeroutput>cd $LFS 
    165 rm -rf ./* 
     186<screen role="nodump" revision="systemd"><computeroutput>cd $LFS
     187rm -rf ./*
    166188tar -xpf $HOME/lfs-temp-tools-&versiond;.tar.xz</computeroutput></screen>
    167189
     
    181203       </para>
    182204    </important>
    183    
     205
    184206  </sect2>
    185207
  • chapter07/kernfs.xml

    r8e6babe rc6f58f47  
    105105      <para>In some host systems, <filename>/dev/shm</filename> is a
    106106      symbolic link to <filename class="directory">/run/shm</filename>.
    107       The /run tmpfs was mounted above so in this case only a 
     107      The /run tmpfs was mounted above so in this case only a
    108108      directory needs to be created.</para>
    109109
  • chapter07/perl.xml

    r8e6babe rc6f58f47  
    6161        <term><parameter>-des</parameter></term>
    6262        <listitem>
    63           <para>This is a combination of three options: -d uses defaults for 
     63          <para>This is a combination of three options: -d uses defaults for
    6464          all items; -e ensures completion of all tasks; -s silences
    6565          non-essential output.</para>
  • chapter08/attr.xml

    r8e6babe rc6f58f47  
    5454
    5555    <para>The tests need to be run on a filesystem that supports extended
    56     attributes such as the ext2, ext3, or ext4 filesystems. 
     56    attributes such as the ext2, ext3, or ext4 filesystems.
    5757    To test the results, issue:</para>
    5858
  • chapter08/automake.xml

    r8e6babe rc6f58f47  
    6060<screen><userinput remap="test">make -j4 check</userinput></screen>
    6161<!--
    62     <para>The tests t/subobj.sh, t/deprecated-acinit.sh, and t/init.sh are known to 
     62    <para>The tests t/subobj.sh, t/deprecated-acinit.sh, and t/init.sh are known to
    6363    fail in the LFS environment.</para>
    6464-->
  • chapter08/bc.xml

    r8e6babe rc6f58f47  
    2424    <title/>
    2525
    26     <para>The Bc package contains an arbitrary precision numeric processing 
     26    <para>The Bc package contains an arbitrary precision numeric processing
    2727    language.</para>
    2828
  • chapter08/binutils.xml

    r8e6babe rc6f58f47  
    7575<screen><userinput remap="pre">sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in</userinput></screen>
    7676-->
    77     <para>The Binutils documentation recommends building Binutils 
     77    <para>The Binutils documentation recommends building Binutils
    7878    in a dedicated build directory:</para>
    7979
     
    298298        <term><command>ld.gold</command></term>
    299299        <listitem>
    300           <para>A cut down version of ld that only supports the 
     300          <para>A cut down version of ld that only supports the
    301301          elf object file format</para>
    302302          <indexterm zone="ch-system-binutils ld.gold">
  • chapter08/chapter08.xml

    r8e6babe rc6f58f47  
    6767  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/>
    6868  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>
    69   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="check.xml"/> 
     69  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="check.xml"/>
    7070  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/>
    7171  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gawk.xml"/>
  • chapter08/coreutils.xml

    r8e6babe rc6f58f47  
    8989        <term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term>
    9090        <listitem>
    91           <para>This environment variable allows the package to be 
     91          <para>This environment variable allows the package to be
    9292          built as the <systemitem class="username">root</systemitem> user.
    9393          </para>
  • chapter08/dbus.xml

    r8e6babe rc6f58f47  
    115115      <seglistitem>
    116116        <seg>dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
    117         dbus-run-session, dbus-send, dbus-test-tool, 
     117        dbus-run-session, dbus-send, dbus-test-tool,
    118118        dbus-update-activation-environment, and dbus-uuidgen</seg>
    119119        <seg>libdbus-1.{a,so}</seg>
  • chapter08/eudev.xml

    r8e6babe rc6f58f47  
    2525
    2626    <para>The Eudev package contains programs for dynamic creation of device
    27     nodes.</para> 
     27    nodes.</para>
    2828
    2929    <segmentedlist>
     
    7777<screen><userinput remap="install">make install</userinput></screen>
    7878
    79     <para>Install some custom rules and support files useful in an LFS 
     79    <para>Install some custom rules and support files useful in an LFS
    8080    environment:</para>
    8181
  • chapter08/expect.xml

    r8e6babe rc6f58f47  
    6363        <term><parameter>--with-tcl=/usr/lib</parameter></term>
    6464        <listitem>
    65           <para>This parameter is needed to tell 
     65          <para>This parameter is needed to tell
    6666          <command>configure</command> where the
    6767          <command>tclConfig.sh</command> script is located.</para>
  • chapter08/gcc.xml

    r8e6babe rc6f58f47  
    116116    <para>Test the results as a non-privileged user, but do not stop at errors:</para>
    117117
    118 <screen><userinput remap="test">chown -Rv tester . 
     118<screen><userinput remap="test">chown -Rv tester .
    119119su tester -c "PATH=$PATH make -k check"</userinput></screen>
    120120
     
    186186  -->
    187187    <para>Add a compatibility symlink to enable building programs with
    188     Link Time Optimization (LTO):</para> 
     188    Link Time Optimization (LTO):</para>
    189189
    190190<screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
     
    352352        and libubsan.{a,so}</seg>
    353353
    354         <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and 
     354        <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and
    355355        /usr/share/gcc-&gcc-version;</seg>
    356356      </seglistitem>
  • chapter08/glibc.xml

    r8e6babe rc6f58f47  
    4747
    4848    <screen><userinput remap="pre">sed -e '/NOTIFY_REMOVED)/s/)/ \&amp;\&amp; data.attr != NULL)/' \
    49     -i sysdeps/unix/sysv/linux/mq_notify.c</userinput></screen> 
     49    -i sysdeps/unix/sysv/linux/mq_notify.c</userinput></screen>
    5050
    5151    <para>Some of the Glibc programs use the non-FHS compliant
     
    5656<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    5757
    58     <para>The Glibc documentation recommends building Glibc 
     58    <para>The Glibc documentation recommends building Glibc
    5959    in a dedicated build directory:</para>
    6060
     
    8383        <term><parameter>--disable-werror</parameter></term>
    8484        <listitem>
    85           <para>This option disables the -Werror option passed to 
     85          <para>This option disables the -Werror option passed to
    8686          GCC.  This is necessary for running the test suite.</para>
    8787        </listitem>
     
    101101        <term><parameter>--enable-stack-protector=strong</parameter></term>
    102102        <listitem>
    103           <para>This option increases system security by adding 
     103          <para>This option increases system security by adding
    104104          extra code to check for buffer overflows, such as stack
    105105          smashing attacks.</para>
     
    151151    <para>You may see some test failures. The Glibc test suite is
    152152    somewhat dependent on the host system. A few failures out of
    153     over 4200 tests can generally be ignored. This is a list of the 
     153    over 4200 tests can generally be ignored. This is a list of the
    154154    most common issues seen for recent versions of LFS:</para>
    155155
     
    157157
    158158      <listitem>
    159         <para><emphasis>io/tst-lchmod</emphasis> 
     159        <para><emphasis>io/tst-lchmod</emphasis>
    160160        is known to fail in the LFS chroot environment.</para>
    161161      </listitem>
    162162
    163163      <listitem>
    164         <para><emphasis>misc/tst-ttyname</emphasis> 
     164        <para><emphasis>misc/tst-ttyname</emphasis>
    165165        is known to fail in the LFS chroot environment.</para>
    166166      </listitem>
     
    174174        <para>The <emphasis>rt/tst-cputimer{1,2,3}</emphasis> tests depend on
    175175        the host system kernel. Kernels 4.14.91&ndash;4.14.96,
    176         4.19.13&ndash;4.19.18, and 4.20.0&ndash;4.20.5 are known to 
     176        4.19.13&ndash;4.19.18, and 4.20.0&ndash;4.20.5 are known to
    177177        cause these tests to fail.
    178178        </para>
     
    214214mkdir -pv /var/cache/nscd</userinput></screen>
    215215
    216     <para revision="systemd">Install the systemd support files for 
     216    <para revision="systemd">Install the systemd support files for
    217217    <command>nscd</command>:</para>
    218218
     
    288288    when you need them. For instance, the following two locales are
    289289    needed for some tests later in this chapter:</para>
    290  
     290
    291291<screen role="nodump"><userinput remap="locale-full">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
    292292localedef -i ja_JP -f SHIFT_JIS ja_JP.SIJS 2> /dev/null || true</userinput></screen>
    293293
    294     <note><para>Glibc now uses libidn2 when resolving internationalized 
     294    <note><para>Glibc now uses libidn2 when resolving internationalized
    295295    domain names.  This is a run time dependency.  If this capability
    296     is needed, the instructions for installing libidn2 are in the 
     296    is needed, the instructions for installing libidn2 are in the
    297297    <ulink url="&blfs-book;general/libidn2.html">BLFS libidn2 page</ulink>.
    298298    </para></note>
     
    480480      <seglistitem>
    481481        <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
    482         ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, 
     482        ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
    483483        pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
    484484        zdump, and zic</seg>
     
    950950          many different Unix utilities. These functions are now in
    951951          <filename class="libraryfile">libc</filename></para>
    952          
    953952          <indexterm zone="ch-system-glibc libutil">
    954953            <primary sortas="c-libutil">libutil</primary>
  • chapter08/gmp.xml

    r8e6babe rc6f58f47  
    5454      <para>The default settings of GMP produce libraries optimized for
    5555      the host processor.  If libraries suitable for processors less
    56       capable than the host's CPU are desired, generic libraries can be 
     56      capable than the host's CPU are desired, generic libraries can be
    5757      created by running the following:
    5858
     
    101101
    102102<screen><userinput remap="test">make check 2>&amp;1 | tee gmp-check-log</userinput></screen>
    103  
     103
    104104    <caution><para>The code in gmp is highly optimized for the processor where
    105105    it is built. Occasionally, the code that detects the processor misidentifies
  • chapter08/grub.xml

    r8e6babe rc6f58f47  
    107107
    108108       <seg>grub-bios-setup,      grub-editenv,    grub-file,        grub-fstest,
    109             grub-glue-efi,        grub-install,    grub-kbdcomp,     grub-macbless,   
     109            grub-glue-efi,        grub-install,    grub-kbdcomp,     grub-macbless,
    110110            grub-menulst2cfg,     grub-mkconfig,
    111111                                  grub-mkimage,    grub-mklayout,    grub-mknetdir,
    112112            grub-mkpasswd-pbkdf2, grub-mkrelpath,  grub-mkrescue,    grub-mkstandalone,
    113             grub-ofpathname,      grub-probe,      grub-reboot,      grub-render-label, 
     113            grub-ofpathname,      grub-probe,      grub-reboot,      grub-render-label,
    114114            grub-script-check,
    115115            grub-set-default,     grub-sparc64-setup, and grub-syslinux2cfg</seg>
  • chapter08/gzip.xml

    r8e6babe rc6f58f47  
    6767
    6868      <seglistitem>
    69         <seg>gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp, 
     69        <seg>gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp,
    7070        zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg>
    7171      </seglistitem>
  • chapter08/inetutils.xml

    r8e6babe rc6f58f47  
    129129
    130130      <seglistitem>
    131         <seg>dnsdomainname, ftp, ifconfig, hostname, ping, ping6, 
     131        <seg>dnsdomainname, ftp, ifconfig, hostname, ping, ping6,
    132132        talk, telnet, tftp, and traceroute</seg>
    133133      </seglistitem>
  • chapter08/iproute2.xml

    r8e6babe rc6f58f47  
    4444    <para>The <command>arpd</command> program included in this package will not
    4545    be built since it is dependent on Berkeley DB, which is not installed in
    46     LFS. However, a directory for <command>arpd</command> and a man page will still 
    47     be installed. Prevent this by running the commands below. 
     46    LFS. However, a directory for <command>arpd</command> and a man page will still
     47    be installed. Prevent this by running the commands below.
    4848    If the <command>arpd</command> binary is needed,
    4949    instructions for compiling Berkeley DB can be found in the BLFS Book at
     
    5454rm -fv man/man8/arpd.8</userinput></screen>
    5555
    56     <para>It is also necessary to disable building two modules that 
     56    <para>It is also necessary to disable building two modules that
    5757    require <ulink url="&blfs-book;postlfs/iptables.html"/>.</para>
    5858
  • chapter08/kbd.xml

    r8e6babe rc6f58f47  
    117117        setfont, setkeycodes, setleds, setmetamode, setvtrgb,
    118118        showconsolefont, showkey, unicode_start, and unicode_stop</seg>
    119         <seg>/usr/share/consolefonts, /usr/share/consoletrans, /usr/share/keymaps, 
     119        <seg>/usr/share/consolefonts, /usr/share/consoletrans, /usr/share/keymaps,
    120120        /usr/share/doc/kbd-&kbd-version;,  and /usr/share/unimaps</seg>
    121121      </seglistitem>
  • chapter08/kmod.xml

    r8e6babe rc6f58f47  
    9292
    9393      <seglistitem>
    94         <seg>depmod (link to kmod), insmod (link to kmod), kmod, 
     94        <seg>depmod (link to kmod), insmod (link to kmod), kmod,
    9595        lsmod (link to kmod), modinfo (link to kmod), modprobe (link to kmod),
    9696        and rmmod (link to kmod)</seg>
  • chapter08/libelf.xml

    r8e6babe rc6f58f47  
    5656
    5757    <para>To test the results, issue:</para>
    58    
     58
    5959<screen><userinput remap="test">make check</userinput></screen>
    6060
  • chapter08/libffi.xml

    r8e6babe rc6f58f47  
    6767          is not specified, the system is guessed and the code generated
    6868          may not be correct for some systems.  If the generated code
    69           will be copied from the native system to a less capable 
    70           system, use the less capable system as a parameter. For details 
    71           about alternative system types, see <ulink 
     69          will be copied from the native system to a less capable
     70          system, use the less capable system as a parameter. For details
     71          about alternative system types, see <ulink
    7272          url='https://gcc.gnu.org/onlinedocs/gcc-&gcc-version;/gcc/x86-Options.html'>
    7373          the x86 options in the GCC manual</ulink>.</para>
  • chapter08/libtool.xml

    r8e6babe rc6f58f47  
    6262
    6363    <para>Five tests are known to fail in the LFS build environment due
    64     to a circular dependency, but all tests pass if rechecked after 
     64    to a circular dependency, but all tests pass if rechecked after
    6565    automake is installed.</para>
    6666
  • chapter08/man-db.xml

    r8e6babe rc6f58f47  
    101101        <term><parameter>--with-systemd...</parameter></term>
    102102        <listitem>
    103           <para>These parameters prevent installing unneeded systemd 
     103          <para>These parameters prevent installing unneeded systemd
    104104          directories and files.</para>
    105105        </listitem>
  • chapter08/meson.xml

    r8e6babe rc6f58f47  
    7070    <variablelist>
    7171      <title>The meaning of the install parameters:</title>
    72      
     72
    7373      <varlistentry>
    7474        <term><parameter>--root=dest</parameter></term>
  • chapter08/ncurses.xml

    r8e6babe rc6f58f47  
    133133      libraries since no package installed by compiling from sources would link
    134134      against them at runtime. However, the only known binary-only
    135       applications that link against non-wide-character Ncurses libraries 
     135      applications that link against non-wide-character Ncurses libraries
    136136      require version 5.  If you must have such libraries because of some binary-only
    137137      application or to be compliant with LSB, build the package again with the
     
    144144            --without-debug  \
    145145            --without-cxx-binding \
    146             --with-abi-version=5 
     146            --with-abi-version=5
    147147make sources libs
    148148cp -av lib/lib*.so.5* /usr/lib</userinput></screen>
     
    161161      <seglistitem>
    162162        <seg>
    163            captoinfo (link to tic), 
    164            clear, 
    165            infocmp, 
     163           captoinfo (link to tic),
     164           clear,
     165           infocmp,
    166166           infotocap (link to tic),
    167            ncursesw6-config, 
    168            reset (link to tset), 
    169            tabs, 
    170            tic, 
    171            toe, 
    172            tput, and 
     167           ncursesw6-config,
     168           reset (link to tset),
     169           tabs,
     170           tic,
     171           toe,
     172           tput, and
    173173           tset
    174174        </seg>
    175175        <seg>
    176176           libcursesw.so (symlink and linker script to libncursesw.so),
    177            libformw.so, 
    178            libmenuw.so, 
     177           libformw.so,
     178           libmenuw.so,
    179179           libncursesw.so,
    180180           libpanelw.so, and their non-wide-character counterparts without "w"
    181181              in the library names.</seg>
    182182        <seg>
    183            /usr/share/tabset, 
     183           /usr/share/tabset,
    184184           /usr/share/terminfo, and
    185185           /usr/share/doc/ncurses-&ncurses-version;
  • chapter08/ninja.xml

    r8e6babe rc6f58f47  
    5151
    5252    <para>When run, ninja normally runs a maximum number of processes
    53     in parallel.  By default this is the number of cores on the system 
     53    in parallel.  By default this is the number of cores on the system
    5454    plus two.  In some cases this can overheat a CPU or run a system out
    5555    of memory.  If run from the command line, passing a -jN parameter
     
    5858
    5959    <para>Using the <emphasis>optional</emphasis> procedure below allows a user to
    60     limit the number of parallel processes via an environment variable, 
     60    limit the number of parallel processes via an environment variable,
    6161    NINJAJOBS.  <emphasis role="bold">For example</emphasis>, setting:
    6262
     
    6565    will limit ninja to four parallel processes.</para>
    6666
    67     <para>If desired, add the capability to use the environment variable 
     67    <para>If desired, add the capability to use the environment variable
    6868    NINJAJOBS by running:</para>
    6969
  • chapter08/perl.xml

    r8e6babe rc6f58f47  
    4747<screen><userinput remap="pre">patch -Np1 -i ../&perl-fix-patch;</userinput></screen>
    4848
    49     <para>This version of Perl now builds the Compress::Raw::Zlib and 
     49    <para>This version of Perl now builds the Compress::Raw::Zlib and
    5050    Compress::Raw::BZip2 modules. By
    5151    default Perl will use an internal copy of the sources for the build.
     
    9090        <term><parameter>-Dpager="/usr/bin/less -isR"</parameter></term>
    9191        <listitem>
    92           <para>This ensures that <userinput>less</userinput> is used instead 
     92          <para>This ensures that <userinput>less</userinput> is used instead
    9393          of <userinput>more</userinput>.</para>
    9494        </listitem>
  • chapter08/procps.xml

    r8e6babe rc6f58f47  
    2929    <note>
    3030      <para>This package extracts to the directory
    31       <filename class="directory">procps-3.3.17</filename>, 
     31      <filename class="directory">procps-3.3.17</filename>,
    3232      not the expected
    3333      <filename class="directory">procps-ng-3.3.17</filename>.</para>
     
    9494    <para>Five tests related to pkill are known to fail due to a problem
    9595    with tests that were not updated.</para>
    96  
     96
    9797    <para>Install the package:</para>
    9898
  • chapter08/python.xml

    r8e6babe rc6f58f47  
    104104    <para>If desired, install the preformatted documentation:</para>
    105105
    106 <screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html 
     106<screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html
    107107
    108108tar --strip-components=1  \
     
    118118      <term><option>--no-same-owner</option> and <option>--no-same-permissions</option></term>
    119119      <listitem>
    120         <para>Ensure the installed files have the correct ownership and 
     120        <para>Ensure the installed files have the correct ownership and
    121121        permissions.  Without these options, using <application>tar</application>
    122         will install the package files with the upstream creator's values. 
     122        will install the package files with the upstream creator's values.
    123123        </para>
    124124      </listitem>
     
    145145        </seg>
    146146        <seg>
    147           /usr/include/python&python-minor;, 
     147          /usr/include/python&python-minor;,
    148148          /usr/lib/python3, and
    149149          /usr/share/doc/python-&python-version;
     
    163163            is a <application>Python</application> program that reads
    164164            <application>Python 2.x</application> source code and applies a
    165             series of fixes to transform it into 
     165            series of fixes to transform it into
    166166            valid <application>Python 3.x</application> code
    167167          </para>
  • chapter08/revisedchroot.xml

    r8e6babe rc6f58f47  
    1616
    1717  <para>Now log out and reenter the chroot environment with an updated
    18   chroot command.  From now on, use this updated chroot command any time 
     18  chroot command.  From now on, use this updated chroot command any time
    1919  you need to reenter the chroot environment after exiting:</para>
    2020
     
    5656<screen><userinput>find /usr -depth -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf</userinput></screen>
    5757
    58    <para>Finally, remove the temporary 'tester' user account created at the 
     58   <para>Finally, remove the temporary 'tester' user account created at the
    5959   beginning of the previous chapter.</para>
    6060
  • chapter08/stripping.xml

    r8e6babe rc6f58f47  
    1111  <title>Stripping</title>
    1212
    13   <para>This section is optional.  If the intended user is not a 
     13  <para>This section is optional.  If the intended user is not a
    1414  programmer and does not plan to do
    1515  any debugging on the system software, the system size can be decreased
     
    2525
    2626  <para>The debugging symbols for selected libraries are placed
    27   in separate files.  This debugging information is needed if running 
    28   regression tests that use <ulink 
    29   url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink 
     27  in separate files.  This debugging information is needed if running
     28  regression tests that use <ulink
     29  url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink
    3030  url='&blfs-book;/general/gdb.html'>gdb</ulink> later in BLFS.
    3131  </para>
     
    4242
    4343  <note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems
    44   and ld-linux.so.2 on 32-bit systems.  The contruct below selects the 
     44  and ld-linux.so.2 on 32-bit systems.  The contruct below selects the
    4545  correct name for the current architecture.</para></note>
    4646
     
    5151             libc.so.6
    5252             libthread_db.so.1
    53              libquadmath.so.&libquadmath-version; 
     53             libquadmath.so.&libquadmath-version;
    5454             libstdc++.so.&libstdcpp-version;
    55              libitm.so.&libitm-version; 
    56              libatomic.so.&libatomic-version;" 
     55             libitm.so.&libitm-version;
     56             libatomic.so.&libatomic-version;"
    5757
    5858cd /usr/lib
     
    9494         $(find /usr/{bin,sbin,libexec} -type f); do
    9595    case "$online_usrbin $online_usrlib $save_usrlib" in
    96         *$(basename $i)* ) 
     96        *$(basename $i)* )
    9797            ;;
    98         * ) strip --strip-unneeded $i 
     98        * ) strip --strip-unneeded $i
    9999            ;;
    100100    esac
  • chapter08/systemd.xml

    r8e6babe rc6f58f47  
    206206    systemd-networkd:</para>
    207207    <!-- Observed halting startup with dhcpcd handling the primary NIC -->
    208  
     208
    209209<screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
    210210
     
    214214    <para>Prevent systemd from resetting the maximum PID value which causes
    215215    some problems with packages and units in BLFS:</para>
    216    
     216
    217217<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
    218218-->
     
    252252        /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
    253253        /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
    254         /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel, 
    255         /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd, 
     254        /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
     255        /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
    256256        /usr/lib/tmpfiles.d,
    257257        /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
     
    324324        <listitem>
    325325          <para>Is the first process to be started when the kernel has initialized
    326           the hardware which takes over the boot process and starts all 
     326          the hardware which takes over the boot process and starts all
    327327          processes according to its configuration files. In this case, it starts
    328328          systemd</para>
     
    390390        <term><command>networkctl</command></term>
    391391        <listitem>
    392           <para>Is used to introspect and configure the state of the network 
     392          <para>Is used to introspect and configure the state of the network
    393393          links configured by systemd-networkd</para>
    394394          <indexterm zone="ch-system-systemd networkctl">
     
    478478        <term><command>shutdown</command></term>
    479479        <listitem>
    480           <para>Brings the system down in a safe and secure manner, signaling 
     480          <para>Brings the system down in a safe and secure manner, signaling
    481481          all processes and notifying all logged-in users</para>
    482482          <indexterm zone="ch-system-systemd shutdown">
     
    775775        <term><command>systemd-tty-ask-password-agent</command></term>
    776776        <listitem>
    777           <para>Is used to list and/or process pending systemd password 
     777          <para>Is used to list and/or process pending systemd password
    778778          requests</para>
    779779          <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
     
    808808        <term><command>udevadm</command></term>
    809809        <listitem>
    810           <para>Is a generic udev administration tool which controls the udevd 
    811           daemon, provides info from the Udev hardware database, monitors 
    812           uevents, waits for uevents to finish, tests udev configuration, and 
     810          <para>Is a generic udev administration tool which controls the udevd
     811          daemon, provides info from the Udev hardware database, monitors
     812          uevents, waits for uevents to finish, tests udev configuration, and
    813813          triggers uevents for a given device</para>
    814814          <indexterm zone="ch-system-systemd udevadm">
  • chapter08/sysvinit.xml

    r8e6babe rc6f58f47  
    9292
    9393      <seglistitem>
    94         <seg>bootlogd, fstab-decode, halt, init, killall5, 
     94        <seg>bootlogd, fstab-decode, halt, init, killall5,
    9595        poweroff (link to halt), reboot (link to halt), runlevel,
    9696        shutdown, and telinit (link to init)</seg>
  • chapter08/tcl.xml

    r8e6babe rc6f58f47  
    5252
    5353<!--    <para>Note that the Tcl package used here is a minimal version needed
    54     to run the LFS tests.  For the full package, see the 
     54    to run the LFS tests.  For the full package, see the
    5555    <ulink url='&blfs-book;general/tcl.html'>BLFS Tcl procedures</ulink>.</para>-->
    5656
     
    156156      <seglistitem>
    157157        <seg>
    158           tclsh (link to tclsh&tcl-major-version;) and 
     158          tclsh (link to tclsh&tcl-major-version;) and
    159159          tclsh&tcl-major-version;
    160160        </seg>
    161161        <seg>
    162           libtcl&tcl-major-version;.so and 
     162          libtcl&tcl-major-version;.so and
    163163          libtclstub&tcl-major-version;.a
    164164        </seg>
  • chapter08/texinfo.xml

    r8e6babe rc6f58f47  
    197197        <term><command>texi2any</command></term>
    198198        <listitem>
    199           <para>Translate Texinfo source documentation to 
     199          <para>Translate Texinfo source documentation to
    200200          various other formats</para>
    201201          <indexterm zone="ch-system-texinfo texi2any">
  • chapter08/util-linux.xml

    r8e6babe rc6f58f47  
    7676
    7777    <para>The --disable and --without options prevent warnings about
    78     building components that require packages not in LFS or are 
     78    building components that require packages not in LFS or are
    7979    inconsistent with programs installed by other packages.</para>
    8080
     
    139139        umount, uname26, unshare, utmpdump, uuidd, uuidgen, uuidparse, wall, wdctl, whereis,
    140140        wipefs, x86_64, and zramctl</seg>
    141         <seg>libblkid.so, libfdisk.so, libmount.so, 
     141        <seg>libblkid.so, libfdisk.so, libmount.so,
    142142        libsmartcols.so, and libuuid.so</seg>
    143         <seg>/usr/include/blkid, 
    144              /usr/include/libfdisk, 
    145              /usr/include/libmount, 
    146              /usr/include/libsmartcols, 
    147              /usr/include/uuid, 
    148              /usr/share/doc/util-linux-&util-linux-version;, 
     143        <seg>/usr/include/blkid,
     144             /usr/include/libfdisk,
     145             /usr/include/libmount,
     146             /usr/include/libsmartcols,
     147             /usr/include/uuid,
     148             /usr/share/doc/util-linux-&util-linux-version;,
    149149         and /var/lib/hwclock</seg>
    150150      </seglistitem>
     
    593593        <term><command>last</command></term>
    594594        <listitem>
    595           <para>Shows which users last logged in (and out), searching back 
    596           through the <filename>/var/log/wtmp</filename> file; it also shows 
     595          <para>Shows which users last logged in (and out), searching back
     596          through the <filename>/var/log/wtmp</filename> file; it also shows
    597597          system boots, shutdowns, and run-level changes</para>
    598598          <indexterm zone="ch-system-util-linux last">
     
    605605        <term><command>lastb</command></term>
    606606        <listitem>
    607           <para>Shows the failed login attempts, as logged in 
     607          <para>Shows the failed login attempts, as logged in
    608608          <filename>/var/log/btmp</filename></para>
    609609          <indexterm zone="ch-system-util-linux lastb">
     
    760760        <term><command>mesg</command></term>
    761761        <listitem>
    762           <para>Controls whether other users can send messages to the current 
     762          <para>Controls whether other users can send messages to the current
    763763          user's terminal</para>
    764764          <indexterm zone="ch-system-util-linux mesg">
     
    12611261        <term><command>zramctl</command></term>
    12621262        <listitem>
    1263           <para>A program to set up and control zram (compressed ram disk) 
     1263          <para>A program to set up and control zram (compressed ram disk)
    12641264          devices</para>
    12651265          <indexterm zone="ch-system-util-linux zramctl">
  • chapter08/vim.xml

    r8e6babe rc6f58f47  
    6363<screen><userinput remap="make">make</userinput></screen>
    6464
    65     <para>To prepare the tests, ensure that user 
    66     <systemitem class="username">tester</systemitem> can write 
     65    <para>To prepare the tests, ensure that user
     66    <systemitem class="username">tester</systemitem> can write
    6767    to the source tree:</para>
    6868
     
    134134" Ensure defaults are set before customizing settings, not after
    135135source $VIMRUNTIME/defaults.vim
    136 let skip_defaults_vim=1 
     136let skip_defaults_vim=1
    137137
    138138set nocompatible
  • chapter08/xz.xml

    r8e6babe rc6f58f47  
    7575      <seglistitem>
    7676        <seg>
    77           lzcat (link to xz), 
    78           lzcmp (link to xzdiff), 
    79           lzdiff (link to xzdiff), 
    80           lzegrep (link to xzgrep), 
     77          lzcat (link to xz),
     78          lzcmp (link to xzdiff),
     79          lzdiff (link to xzdiff),
     80          lzegrep (link to xzgrep),
    8181          lzfgrep (link to xzgrep),
    82           lzgrep (link to xzgrep), 
    83           lzless (link to xzless), 
     82          lzgrep (link to xzgrep),
     83          lzless (link to xzless),
    8484          lzma (link to xz),
    85           lzmadec, 
    86           lzmainfo, 
     85          lzmadec,
     86          lzmainfo,
    8787          lzmore (link to xzmore),
    88           unlzma (link to xz), 
    89           unxz (link to xz), 
    90           xz, 
     88          unlzma (link to xz),
     89          unxz (link to xz),
     90          xz,
    9191          xzcat (link to xz),
    92           xzcmp (link to xzdiff), 
    93           xzdec, 
    94           xzdiff, 
     92          xzcmp (link to xzdiff),
     93          xzdec,
     94          xzdiff,
    9595          xzegrep (link to xzgrep),
    96           xzfgrep (link to xzgrep), 
    97           xzgrep, 
    98           xzless, and 
     96          xzfgrep (link to xzgrep),
     97          xzgrep,
     98          xzless, and
    9999          xzmore</seg>
    100100        <seg>
     
    102102        </seg>
    103103        <seg>
    104           /usr/include/lzma and 
     104          /usr/include/lzma and
    105105          /usr/share/doc/xz-&xz-version;
    106106         </seg>
  • chapter08/zstd.xml

    r8e6babe rc6f58f47  
    7474
    7575      <seglistitem>
    76         <seg>zstd, 
    77              zstdcat (link to zstd), 
    78              zstdgrep, 
    79              zstdless, 
     76        <seg>zstd,
     77             zstdcat (link to zstd),
     78             zstdgrep,
     79             zstdless,
    8080             zstdmt (link to zstd), and
    8181             unzstd (link to zstd)
  • chapter09/bootscripts.xml

    r8e6babe rc6f58f47  
    2525
    2626    <para>The LFS-Bootscripts package contains a set of scripts to start/stop
    27     the LFS system at bootup/shutdown. 
     27    the LFS system at bootup/shutdown.
    2828    The configuration files and procedures needed to
    2929    customize the boot process are described in the following sections.</para>
  • chapter09/consoled.xml

    r8e6babe rc6f58f47  
    2626  url="http://www.tldp.org/HOWTO/HOWTO-INDEX/other-lang.html"/>.
    2727  Examine the output of <command>localectl list-keymaps</command> for a list of
    28   valid console keymaps. Look in the 
     28  valid console keymaps. Look in the
    2929  <filename class="directory">/usr/share/consolefonts</filename>
    3030  directory for valid screen fonts.</para>
  • chapter09/introduction.xml

    r8e6babe rc6f58f47  
    3030    system.</para>
    3131
    32     <para>The <command>init</command> program is controlled by the 
     32    <para>The <command>init</command> program is controlled by the
    3333    <filename>/etc/inittab</filename> file and is organized into run levels that
    3434    can be run by the user:</para>
     
    6262    <itemizedlist>
    6363      <listitem>
    64           <para>May be slower to boot.  A medium speed base LFS system 
    65           takes 8-12 seconds where the boot time is measured from the 
    66           first kernel message to the login prompt.  Network 
    67           connectivity is typically established about 2 seconds 
     64          <para>May be slower to boot.  A medium speed base LFS system
     65          takes 8-12 seconds where the boot time is measured from the
     66          first kernel message to the login prompt.  Network
     67          connectivity is typically established about 2 seconds
    6868          after the login prompt.</para>
    6969      </listitem>
  • chapter09/locale.xml

    r8e6babe rc6f58f47  
    8181  before the telephone number in order to get into the country. If any of the
    8282  commands above fail with a message similar to the one shown below, this means
    83   that your locale was either not installed in Chapter&nbsp;8 or is not 
     83  that your locale was either not installed in Chapter&nbsp;8 or is not
    8484  supported by the default installation of Glibc.</para>
    8585
     
    143143  mail with such characters from Mutt or Pine results in non-RFC-conforming
    144144  messages being sent (the charset in the outgoing mail is indicated as <quote>unknown
    145   8-bit</quote>). It's suggested that you use the <quote>C</quote> locale only 
     145  8-bit</quote>). It's suggested that you use the <quote>C</quote> locale only
    146146  if you are certain that you will never need 8-bit characters.</para>
    147147
  • chapter09/network.xml

    r8e6babe rc6f58f47  
    3232    characteristics such as enp2s1. If you are not sure what your interface
    3333    name is, you can always run <command>ip link</command> or <command>ls
    34     /sys/class/net</command> after you have booted your system. 
     34    /sys/class/net</command> after you have booted your system.
    3535    </para></note>
    3636
     
    158158       <primary sortas="e-/etc/hosts">/etc/hosts</primary>
    159159     </indexterm>
    160    
     160
    161161     <indexterm zone="ch-config-hosts">
    162162       <primary sortas="d-localnet">localnet</primary>
    163163       <secondary>/etc/hosts</secondary>
    164164     </indexterm>
    165    
     165
    166166     <indexterm zone="ch-config-hosts">
    167167       <primary sortas="d-network">network</primary>
    168168       <secondary>/etc/hosts</secondary>
    169169     </indexterm>
    170    
     170
    171171     <para>Decide on the IP address, fully-qualified domain name (FQDN), and
    172172     possible aliases for use in the <filename>/etc/hosts</filename> file. The
    173173     syntax is:</para>
    174    
     174
    175175<screen><literal>IP_address myhost.example.org aliases</literal></screen>
    176176
     
    187187     <para>x can be any number in the range 16-31. y can be any number in the
    188188     range 0-255.</para>
    189    
     189
    190190     <para>A valid private IP address could be 192.168.1.1. A valid FQDN for
    191191     this IP could be lfs.example.org.</para>
    192    
     192
    193193     <para>Even if not using a network card, a valid FQDN is still required.
    194194     This is necessary for certain programs to operate correctly.</para>
    195    
     195
    196196     <para>Create the  <filename>/etc/hosts</filename> file by running:</para>
    197197
     
    210210
    211211     <para>The <replaceable>&lt;192.168.1.1&gt;</replaceable>,
    212      <replaceable>&lt;FQDN&gt;</replaceable>, and 
     212     <replaceable>&lt;FQDN&gt;</replaceable>, and
    213213     <replaceable>&lt;HOSTNAME&gt;</replaceable> values need to be
    214214     changed for specific uses or requirements (if assigned an IP address by a
  • chapter09/networkd.xml

    r8e6babe rc6f58f47  
    3939    <filename class="extension">.netdev</filename> and
    4040    <filename class="extension">.network</filename> files. For detailed
    41     descriptions and example contents of these configuration files, consult 
     41    descriptions and example contents of these configuration files, consult
    4242    the <filename>systemd-link(5)</filename>,
    4343    <filename>systemd-netdev(5)</filename> and
     
    5858        each type of connection.  For example, the classic interface
    5959        name for a wired connection is eth0.  A wireless connection
    60         will usually have the name wifi0 or wlan0. 
     60        will usually have the name wifi0 or wlan0.
    6161      </para>
    6262
     
    7676          <para>
    7777             Create a manual naming scheme, for example by naming the
    78              interfaces something like "internet0", "dmz0", or "lan0". 
    79              To do that, create .link files in /etc/systemd/network/ that 
     78             interfaces something like "internet0", "dmz0", or "lan0".
     79             To do that, create .link files in /etc/systemd/network/ that
    8080             select an explicit name or a better naming scheme for your
    8181             network interfaces. For example:
     
    9292
    9393          <para>
    94              See the man page systemd.link(5) for more information. 
     94             See the man page systemd.link(5) for more information.
    9595          </para>
    9696        </listitem>
     
    9898        <listitem>
    9999          <para>
    100             In /boot/grub/grub.cfg, pass the option net.ifnames=0 on the 
     100            In /boot/grub/grub.cfg, pass the option net.ifnames=0 on the
    101101            kernel command line.
    102102          </para>
     
    210210      There will often be more than one entry (requirements demand secondary
    211211      servers for fallback capability). If you only need or want one DNS server,
    212       remove the second <emphasis>nameserver</emphasis> line from the file. 
     212      remove the second <emphasis>nameserver</emphasis> line from the file.
    213213      The IP address may also be a router on the local network. Another option
    214214      is to use the Google Public DNS service using the IP addresses below as
     
    253253       <primary sortas="e-/etc/hosts">/etc/hosts</primary>
    254254     </indexterm>
    255    
     255
    256256     <indexterm zone="ch-config-hosts">
    257257       <primary sortas="d-localnet">localnet</primary>
    258258       <secondary>/etc/hosts</secondary>
    259259     </indexterm>
    260    
     260
    261261     <indexterm zone="ch-config-hosts">
    262262       <primary sortas="d-network">network</primary>
  • chapter09/profile.xml

    r8e6babe rc6f58f47  
    104104  before the telephone number in order to get into the country. If any of the
    105105  commands above fail with a message similar to the one shown below, this means
    106   that your locale was either not installed in <xref linkend="ch-system-glibc"/> 
     106  that your locale was either not installed in <xref linkend="ch-system-glibc"/>
    107107  or is not supported by the default installation of Glibc.</para>
    108108
  • chapter09/symlinks.xml

    r8e6babe rc6f58f47  
    2323    and the Realtek card becomes eth1. In some cases, after a reboot the cards
    2424    could get renumbered the other way around.</para>
    25    
     25
    2626    <para>In the new naming scheme, typical network device names would then
    2727    be something like enp5s0 or wlp3s0.  If this naming convention is not
     
    3131    <sect3>
    3232      <title>Disabling Persistent Naming on the Kernel Command Line</title>
    33    
     33
    3434      <para>The traditional naming scheme using eth0, eth1, etc can be
    35       restored by adding <userinput>net.ifnames=0</userinput> on the 
     35      restored by adding <userinput>net.ifnames=0</userinput> on the
    3636      kernel command line.  This is most appropriate for those systems
    3737      that have only one ethernet device of the same type.  Laptops
    38       often have multiple ethernet connections that are named eth0 and 
    39       wlan0 and are also candidates for this method.  The command line 
    40       is passed in the GRUB configuration file. 
     38      often have multiple ethernet connections that are named eth0 and
     39      wlan0 and are also candidates for this method.  The command line
     40      is passed in the GRUB configuration file.
    4141      See <xref linkend="grub-cfg"/>.</para>
    4242    </sect3>
     
    4444    <sect3>
    4545      <title>Creating Custom Udev Rules</title>
    46    
     46
    4747      <para>The naming scheme can be customized by creating custom udev
    4848      rules.  A script has been included that generates the initial rules.
     
    6262      are not consistently assigned.  In these cases, this method cannot
    6363      be used.</para></note>
    64  
     64
    6565      <para>The file begins with a comment block followed by two lines for each
    6666      NIC. The first line for each NIC is a commented description showing its
     
    7070      interface; this information is only for reference. The second line is the
    7171      udev rule that matches this NIC and actually assigns it a name.</para>
    72  
     72
    7373      <para>All udev rules are made up of several keys, separated by commas and
    7474      optional whitespace. This rule's keys and an explanation of each of them
    7575      are as follows:</para>
    76  
     76
    7777      <itemizedlist>
    7878        <listitem>
     
    107107        </listitem>
    108108      </itemizedlist>
    109  
     109
    110110      <para>The value of <literal>NAME</literal> is the important part. Make sure
    111111      you know which name has been assigned to each of your network cards before
  • chapter09/systemd-custom.xml

    r8e6babe rc6f58f47  
    5151
    5252    <para>By default, <filename class="directory">/tmp</filename> is created as
    53     a tmpfs. If this is not desired, it can be overridden by executing the 
     53    a tmpfs. If this is not desired, it can be overridden by executing the
    5454    following command:</para>
    5555
     
    5757
    5858    <para>Alternatively, if a separate partition for
    59     <filename class="directory">/tmp</filename> is desired, specify that 
     59    <filename class="directory">/tmp</filename> is desired, specify that
    6060    partition in a <filename>/etc/fstab</filename> entry.</para>
    6161
     
    8282      <listitem><para>systemd-tmpfiles-setup.service</para></listitem>
    8383    </itemizedlist>
    84  
     84
    8585    <para>The system location for the configuration files is
    86     <filename>/usr/lib/tmpfiles.d/*.conf</filename>. The local 
     86    <filename>/usr/lib/tmpfiles.d/*.conf</filename>. The local
    8787    configuration files are in
    8888    <filename class="directory">/etc/tmpfiles.d</filename>. Files in
     
    9595    <para>
    9696      Note that the syntax for the
    97       <filename>/usr/lib/tmpfiles.d/*.conf</filename> files can be 
     97      <filename>/usr/lib/tmpfiles.d/*.conf</filename> files can be
    9898      confusing.  For example, the default deletion of files in the /tmp directory
    99       is located in <filename>/usr/lib/tmpfiles.d/tmp.conf</filename> with 
     99      is located in <filename>/usr/lib/tmpfiles.d/tmp.conf</filename> with
    100100      the line:
    101101
     
    149149    systems, systemd uses a unified format for different types of startup
    150150    files (or units). The command <command>systemctl</command> is used to
    151     enable, disable, control state, and obtain status of unit files. Here 
     151    enable, disable, control state, and obtain status of unit files. Here
    152152    are some examples of frequently used commands:</para>
    153153
  • chapter09/udev.xml

    r8e6babe rc6f58f47  
    120120      ownership at whatever <systemitem
    121121      class="filesystem">devtmpfs</systemitem> used initially.</para> </sect3>
    122      
     122
    123123    <sect3 id="module-loading">
    124124      <title>Module Loading</title>
     
    224224      <para>Note that the <quote>softdep</quote> command also allows
    225225      <literal>pre:</literal> dependencies, or a mixture of both
    226       <literal>pre:</literal> and <literal>post:</literal> dependencies.  See 
     226      <literal>pre:</literal> and <literal>post:</literal> dependencies.  See
    227227      the <filename>modprobe.d(5)</filename> manual page for more information
    228228      on <quote>softdep</quote> syntax and capabilities.</para>
    229229
    230       <para revision="sysv">If the module in question is not a wrapper and is 
    231       useful by itself, configure the <command>modules</command> bootscript to 
     230      <para revision="sysv">If the module in question is not a wrapper and is
     231      useful by itself, configure the <command>modules</command> bootscript to
    232232      load this module on system boot. To do this, add the module name to the
    233233      <filename>/etc/sysconfig/modules</filename> file on a separate line.
  • chapter09/usage.xml

    r8e6babe rc6f58f47  
    2525    particular Linux distribution, they should work the same in LFS too. LFS has its
    2626    own way of doing things, but it respects generally accepted standards.</para>
    27  
     27
    2828    <para>SysVinit (which will be referred to as <quote>init</quote> from now on)
    2929    works using a run-levels scheme. There are seven (numbered 0 to 6) run-levels
     
    234234      /sys/class/rtc.</para>
    235235
    236       <para>For information on kernel module loading and udev, see 
     236      <para>For information on kernel module loading and udev, see
    237237      <xref linkend="module-loading"/>.</para>
    238238  </sect2>
     
    536536  <sect2 id="ch-config-createfiles">
    537537    <title>Creating Files at Boot</title>
    538  
     538
    539539    <indexterm zone="ch-config-createfiles">
    540540      <primary sortas="d-createfiles">File creation at boot</primary>
    541541      <secondary>configuring</secondary>
    542542    </indexterm>
    543  
     543
    544544    <para>At times, it is desirable to create files at boot time.  For instance,
    545545    the <filename class="directory">/tmp/.ICE-unix</filename> directory
    546546    is often needed.  This can be done by creating an entry in the
    547547    <filename>/etc/sysconfig/createfiles</filename> configuration script.
    548     The format of this file is embedded in the comments of the default 
     548    The format of this file is embedded in the comments of the default
    549549    configuration file.</para>
    550550  </sect2>
     
    552552  <sect2 id="ch-config-sysklogd">
    553553    <title>Configuring the sysklogd Script</title>
    554  
     554
    555555    <indexterm zone="ch-config-sysklogd">
    556556      <primary sortas="d-sysklogd">sysklogd</primary>
    557557      <secondary>configuring</secondary>
    558558    </indexterm>
    559  
     559
    560560    <para>The <filename>sysklogd</filename> script invokes the
    561561    <command>syslogd</command> program as a part of System V initialization.  The
     
    575575  <sect2 id="ch-config-site">
    576576    <title>The rc.site File</title>
    577  
     577
    578578    <indexterm zone="ch-config-site">
    579579      <primary sortas="a-rc.site">rc.site</primary>
    580580    </indexterm>
    581  
     581
    582582    <para>The optional <filename>/etc/sysconfig/rc.site</filename> file contains
    583583    settings that are automatically set for each SystemV boot script.  It can
     
    588588    <filename>rc.site</filename>, the values in the script specific files have
    589589    precedence. </para>
    590  
     590
    591591    <para><filename>rc.site</filename> also contains parameters that can
    592592    customize other aspects of the boot process.  Setting the IPROMPT variable
    593593    will enable selective running of bootscripts.  Other options are described
    594594    in the file comments.  The default version of the file is as follows:</para>
    595  
     595
    596596    <!-- Use role to fix a pdf generation problem -->
    597597    <screen role="auto">&site;</screen>
    598  
     598
    599599    <sect3>
    600600      <title>Customizing the Boot and Shutdown Scripts</title>
    601  
     601
    602602      <para>The LFS boot scripts boot and shut down a system in a fairly
    603603      efficient manner, but there are a few tweaks that you can make in the
     
    605605      to your preferences. To do this, adjust the settings in
    606606      the <filename>/etc/sysconfig/rc.site</filename> file above.</para>
    607  
     607
    608608      <itemizedlist>
    609  
     609
    610610      <listitem><para>During the boot script <filename>udev</filename>, there is
    611611      a call to <command>udev settle</command> that requires some time to
     
    614614      card, the boot process will probably not need to wait for this command.  To
    615615      skip it, set the variable OMIT_UDEV_SETTLE=y.</para></listitem>
    616  
     616
    617617      <listitem><para>The boot script <filename>udev_retry</filename> also runs
    618618      <command>udev settle</command> by default.  This command is only needed by
     
    623623      needed.  Skip the command by setting the variable OMIT_UDEV_RETRY_SETTLE=y.
    624624      </para></listitem>
    625  
     625
    626626      <listitem><para>By default, the file system checks are silent.  This can
    627627      appear to be a delay during the bootup process.  To turn on the
    628628      <command>fsck</command> output, set the variable VERBOSE_FSCK=y.
    629629      </para></listitem>
    630  
     630
    631631      <listitem><para>When rebooting, you may want to skip the filesystem check,
    632632      <command>fsck</command>, completely.  To do this, either create the file
     
    637637      the <parameter>-F</parameter> parameter instead of <parameter>-f</parameter>.
    638638      </para>
    639  
     639
    640640      <para>Setting the variable FASTBOOT=y will disable <command>fsck</command>
    641641      during the boot process until it is removed.  This is not recommended
    642642      on a permanent basis.</para></listitem>
    643  
     643
    644644      <listitem><para>Normally, all files in the <filename
    645645      class='directory'>/tmp</filename> directory are deleted at boot time.
     
    647647      noticeable delay in the boot process.  To skip removing these files set the
    648648      variable SKIPTMPCLEAN=y.</para></listitem>
    649  
     649
    650650      <listitem><para>During shutdown, the <command>init</command> program sends
    651651      a TERM signal to each program it has started (e.g. agetty), waits for a set
     
    659659      script can be skipped by setting the parameter
    660660      KILLDELAY=0.</para></listitem>
    661  
     661
    662662      </itemizedlist>
    663  
     663
    664664    </sect3>
    665665  </sect2>
  • chapter10/grub.xml

    r8e6babe rc6f58f47  
    4343    libisoburn</ulink> package.</para>
    4444
    45 <screen role="nodump"><userinput>cd /tmp 
    46 grub-mkrescue --output=grub-img.iso 
     45<screen role="nodump"><userinput>cd /tmp
     46grub-mkrescue --output=grub-img.iso
    4747xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></screen>
    4848
  • chapter10/kernel.xml

    r8e6babe rc6f58f47  
    9898
    9999    <note>
    100    
    101100      <para>A good starting place for setting up the kernel configuration is to
    102101      run <command>make defconfig</command>. This will set the base
     
    116115   [*] Control Group support [CONFIG_CGROUPS]
    117116   [ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED]
    118    [*] Configure standard kernel features (expert users) [CONFIG_EXPERT] ---&gt;         
     117   [*] Configure standard kernel features (expert users) [CONFIG_EXPERT] ---&gt;
    119118      [*] open by fhandle syscalls [CONFIG_FHANDLE]
    120119Processor type and features  ---&gt;
     
    265264
    266265    <note>
    267       <para>In many cases, the configuration of the kernel will need to be 
     266      <para>In many cases, the configuration of the kernel will need to be
    268267      updated for packages that will be installed later in BLFS.  Unlike
    269268      other packages, it is not necessary to remove the kernel source tree
    270       after the newly built kernel is installed.</para> 
    271    
     269      after the newly built kernel is installed.</para>
     270
    272271      <para>If the kernel source tree is going to be retained, run
    273272      <command>chown -R 0:0</command> on the <filename
  • chapter11/reboot.xml

    r8e6babe rc6f58f47  
    5757    within a comfortable GUI environment, install <ulink revision="sysv"
    5858    url='&blfs-book;postlfs/openssh.html'>openssh</ulink><ulink revision="systemd"
    59     url='&blfs-systemd-book;postlfs/openssh.html'>openssh</ulink>. 
     59    url='&blfs-systemd-book;postlfs/openssh.html'>openssh</ulink>.
    6060    </para></listitem>
    6161
Note: See TracChangeset for help on using the changeset viewer.