Changeset d4c8dce4


Ignore:
Timestamp:
09/15/2021 07:24:40 AM (4 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
multilib, trunk
Children:
9af096e
Parents:
df1207e (diff), 06e7b361 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into plabs/condxml

Files:
125 edited

Legend:

Unmodified
Added
Removed
  • INSTALL

    rdf1207e rd4c8dce4  
    11LFS Book Conversion Tools Installation Instructions
    22
    3 After downloading the SVN source, there are some things that need to be set up 
    4 on your computer if you want to convert the XML source into something easier to 
    5 read (e.g. HTML, TXT, or PDF).  If you are interested in this, then keep 
    6 reading.  If you are only interested in editing the XML source for re- 
    7 submission to the lfs-book or lfs-dev mailing lists, then you do not need this 
    8 document.  Instead, you need to read the LFS Editor's Manual.  See the LFS 
     3After downloading the SVN source, there are some things that need to be set up
     4on your computer if you want to convert the XML source into something easier to
     5read (e.g. HTML, TXT, or PDF).  If you are interested in this, then keep
     6reading.  If you are only interested in editing the XML source for re-
     7submission to the lfs-book or lfs-dev mailing lists, then you do not need this
     8document.  Instead, you need to read the LFS Editor's Manual.  See the LFS
    99website at https://www.linuxfromscratch.org for more information.
    1010
     
    1919  - https://www.linuxfromscratch.org/blfs/view/svn/general/libxslt.html
    2020
    21 * DocBook DTD 
     21* DocBook DTD
    2222  - https://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
    2323
    24 * DocBook XSL Stylesheets 
     24* DocBook XSL Stylesheets
    2525  - https://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html
    2626
     
    2828  - https://www.linuxfromscratch.org/blfs/view/svn/general/tidy-html5.html
    2929
    30 ------------------------------------------------------------------------------- 
     30-------------------------------------------------------------------------------
    3131
    3232If you want to convert the XML to TXT, install the above items, and then install
     
    3636  - https://www.linuxfromscratch.org/blfs/view/svn/basicnet/lynx.html
    3737
    38 ------------------------------------------------------------------------------- 
     38-------------------------------------------------------------------------------
    3939
    4040If you want to convert the XML to PDF, install the items listed above (except
  • Makefile

    rdf1207e rd4c8dce4  
    144144        @echo "Validation complete."
    145145
    146 profile-html: 
     146profile-html:
    147147        @echo "Generating profiled XML for XHTML..."
    148148        $(Q)xsltproc --nonet                              \
  • README

    rdf1207e rd4c8dce4  
    11LFS Book README
    22
    3 This document is meant to instruct the user on how to convert the book's XML 
    4 source to other formats (e.g. HTML, PDF, PS and TXT).  First, if you have not 
     3This document is meant to instruct the user on how to convert the book's XML
     4source to other formats (e.g. HTML, PDF, PS and TXT).  First, if you have not
    55already done so, please read the INSTALL file for instructions on how to install
    66the required software.  If you have already completed the steps outlined in the
     
    88various other formats.
    99
    10 In all examples, setting the parameter REV=systemd is needed to build the 
     10In all examples, setting the parameter REV=systemd is needed to build the
    1111systemd version of the book.
    1212
  • appendices/acknowledgments.xml

    rdf1207e rd4c8dce4  
    7676
    7777    <listitem>
    78       <para><ulink url="mailto:jmengual@linuxfromscratch.org">Jean-Philippe 
     78      <para><ulink url="mailto:jmengual@linuxfromscratch.org">Jean-Philippe
    7979      Mengual </ulink> &lt;jmengual@linuxfromscratch.org&gt; &ndash; French LFS
    8080      translation project 2008-2016</para>
     
    8282
    8383    <listitem>
    84       <para><ulink url="mailto:jlepiller@linuxfromscratch.org">Julien 
     84      <para><ulink url="mailto:jlepiller@linuxfromscratch.org">Julien
    8585      Lepiller </ulink> &lt;jlepiller@linuxfromscratch.org&gt; &ndash; French LFS
    8686      translation project 2017-present</para>
     
    100100
    101101    <listitem>
    102       <para><ulink url="mailto:info@linuxfromscratch.org.ru">Anton Maisak</ulink> 
     102      <para><ulink url="mailto:info@linuxfromscratch.org.ru">Anton Maisak</ulink>
    103103      &lt;info@linuxfromscratch.org.ru&gt; &ndash; Russian LFS
    104104      translation project</para>
     
    106106
    107107    <listitem>
    108       <para><ulink url="mailto:helen@linuxfromscratch.org.ru">Elena Shevcova</ulink> 
     108      <para><ulink url="mailto:helen@linuxfromscratch.org.ru">Elena Shevcova</ulink>
    109109      &lt;helen@linuxfromscratch.org.ru&gt; &ndash; Russian LFS
    110110      translation project</para>
  • appendices/dependencies.xml

    rdf1207e rd4c8dce4  
    473473          <seg>
    474474            <ulink url="https://metacpan.org/pod/Expect">Expect.pm</ulink>
    475             and 
     475            and
    476476            <ulink url="https://metacpan.org/pod/IO::Tty">IO::Tty</ulink>
    477477          </seg>
     
    748748          <seg>
    749749            <ulink url="&blfs-book;general/tk.html">Tk</ulink>
    750           </seg> 
     750          </seg>
    751751        </seglistitem>
    752752      </segmentedlist>
     
    951951             <ulink url="http://gcc.gnu.org/wiki/GNAT">GNAT</ulink>
    952952             and
    953              <ulink url="https://repo.or.cz/isl.git">ISL</ulink> 
     953             <ulink url="https://repo.or.cz/isl.git">ISL</ulink>
    954954          </seg>
    955955        </seglistitem>
     
    25572557        </seglistitem>
    25582558      </segmentedlist>
    2559        
    25602559
    25612560      <segmentedlist id="python-testdeps">
  • bootscripts/ChangeLog

    rdf1207e rd4c8dce4  
    77
    882021-04-28 Bruce Dubbs <bdubbs@linuxfromscratch.org>
    9    * Make check_signal more robust. 
     9   * Make check_signal more robust.
    1010   * Use a better methog for killproc to remove a dead pid file.
    1111   * Clarify what signals killproc accepts.
     
    8585   * Remove local attribue of some variables for Bourne
    8686     shell compatability
    87    * Specify /bin/echo in commands with -e switch for 
     87   * Specify /bin/echo in commands with -e switch for
    8888     Bourne shell compatability
    8989
     
    122122   ** Updated ifup.8 to reflect current usage
    123123   ** ifup
    124    *** Move interface up logic to after service scripts.  Eliminates the 
     124   *** Move interface up logic to after service scripts.  Eliminates the
    125125       need for the LINK_CHECK variable.
    126126   *** Sets the GATEWAY if the variable is set
     
    168168   * Create convenience symlink /etc/init.d->/etc/rc.d/init.d.
    169169   * Add help and man pages to upup/ifdown.
    170    * Append /run/var/bootlog to /var/log/boot.log at the end of 
     170   * Append /run/var/bootlog to /var/log/boot.log at the end of
    171171     the boot sequence.
    172172   * Add capabiltiy to step through the boot scripts at boot time
    173    * Optionally allow environment variables in sysconfig directory's 
     173   * Optionally allow environment variables in sysconfig directory's
    174174     console, network, and clock files to be placed in rc.site.
    175175   * Add an optional FASTBOOT parameter to set /fastboot when rebooting.
     
    184184   ** Add /etc/sysconfig/init_params for adding environmental parameters
    185185      to all functions used in bootscripts
    186    ** Move network configuration to /etc/sysconfig/ifconfig.*.  The 
    187       ifconfig files can have any extension.  Use IFACE parameter to 
     186   ** Move network configuration to /etc/sysconfig/ifconfig.*.  The
     187      ifconfig files can have any extension.  Use IFACE parameter to
    188188      specify the target network interface within the configuration file.
    189    ** Adds an optional parameter, SKIPTMPCLEAN, to skip the removal of 
    190       files in /tmp at bootup.  Specify the variable in 
     189   ** Adds an optional parameter, SKIPTMPCLEAN, to skip the removal of
     190      files in /tmp at bootup.  Specify the variable in
    191191      /etc/sysconfig/init_params.
    192192
     
    2242242009-01-02  Bruce Dubbs <bdubbs@linuxfromscratch.org>
    225225   * lfs/init.d/functions:
    226    * lfs/sysconfig/network-devices/ifup: 
    227      Updated line widths to accommodate pdf generation in both the above 
     226   * lfs/sysconfig/network-devices/ifup:
     227     Updated line widths to accommodate pdf generation in both the above
    228228     files.
    229229
     
    342342n/a - June 2, 2006
    343343   * Removed console config file and makefile targets.
    344    * Removed references to /dev/bug and bugreport in udevand
     344   * Removed references to /dev/bug and bugreport in udev and
    345345     udev_retry bootscripts. (DJ Lucas)
    346346
     
    351351
    352352n/a - April 15, 2006
    353    * Cleaned up contrib directory.  Removed: contrib/init.d, 
    354      contrib/enhanced, contrib/livecd, contrib/hotplug, and raq2 
     353   * Cleaned up contrib directory.  Removed: contrib/init.d,
     354     contrib/enhanced, contrib/livecd, contrib/hotplug, and raq2
    355355     patch. (DJ Lucas)
    356356
    357357n/a - April 14, 2006
    358358   * Merged changes from udev_update branch (DJ Lucas)
    359    * Replaced a return with an exit and reversed comment changes in 
     359   * Replaced a return with an exit and reversed comment changes in
    360360     udev bootscript. (Dan Nicholson)
    361361   * Replaced walk_sysfs function in udev bootscript with new udevtrigger
     
    370370
    371371n/a - March 10, 2006
    372    * Moved src argument to ipv4-static-route service script and 
     372   * Moved src argument to ipv4-static-route service script and
    373373     removed from ipv4-static service script. (DJ Lucas)
    374374
     
    389389   * Made above killproc/print_status changes in enhanced
    390390     bootscripts.
    391    * Made logger service configurable in enhanced 
     391   * Made logger service configurable in enhanced
    392392     bootscripts. (DJ Lucas)
    393393
    394394n/a - August 14, 2005
    395    * Added -s flag to pidofproc() for backwards 
     395   * Added -s flag to pidofproc() for backwards
    396396     compatibility (DJ Lucas)
    397    * Fixed erronous values returned by pidofproc() which 
     397   * Fixed erronous values returned by pidofproc() which
    398398     broke the functionality of statusproc (DJ Lucas)
    399399
     
    403403
    404404n/a - June 26, 2005
    405    * Removed consolelog script from contrib 
    406    * Updated interactive rc script in contrib and added 
     405   * Removed consolelog script from contrib
     406   * Updated interactive rc script in contrib and added
    407407     README.rc-Interactive, added install target to the
    408408     Makefile. (DJ Lucas)
     
    600600n/a - September 21, 2004
    601601   * boot_mesg has been enhanced.  Subsequent calls will overwrite
    602      previous text, and it will wrap text basedupon the variable ${WCOL}. 
     602     previous text, and it will wrap text basedupon the variable ${WCOL}.
    603603     (James Robertson)
    604604   * Fixed mtu optional service typo (Kevin P Fleming)
     
    609609
    610610n/a - September 15, 2004
    611    * Added blue bracket, from dj's 3.0-pre1 bootscript package 
     611   * Added blue bracket, from dj's 3.0-pre1 bootscript package
    612612     [echo_failure, echo_warning, and echo_ok]
    613613   * Added a new function called boot_mesg, meant to replace the echo
     
    633633
    634634n/a - August 4, 2004
    635    * Added MODE, DIRMODE, and CONFMODE variables to the makefile 
     635   * Added MODE, DIRMODE, and CONFMODE variables to the makefile
    636636     to allow permissions to be set at install. (DJ)
    637637
    638638n/a - July 31, 2004
    639    
    640639   * Moved PIDFILE check to getpids and removed arguments from
    641640     killproc and reloadproc.  Signals are now set at beginning of
     
    646645n/a - July 21, 2004
    647646
    648    * Committed DJ Lucas's patch for the killproc function.  It no 
     647   * Committed DJ Lucas's patch for the killproc function.  It no
    649648     longer requires arguments if PIDFILE is set
    650649   * added --backup to all sysconfig configuration files, so they are not
     
    979978   * Changed service script install targets to use
    980979     create-service-dir
    981    * Added check for dhcpcd service script for stale pid file 
     980   * Added check for dhcpcd service script for stale pid file
    982981     Suggested by Jeremy
    983982   * Added ifconfig to ipx service script for hosting device not up
  • bootscripts/Makefile

    rdf1207e rd4c8dce4  
    3030        ln -sfn       rc.d/init.d ${ETCDIR}/init.d
    3131
    32 files: create-dirs 
     32files: create-dirs
    3333        install -m ${MODE} lfs/init.d/checkfs       ${ETCDIR}/rc.d/init.d/
    3434        install -m ${MODE} lfs/init.d/cleanfs       ${ETCDIR}/rc.d/init.d/
     
    127127        rm -rf ${DESTDIR}/lib/services ${DESTDIR}/lib/lsb ${ETCDIR}/rc.d ${ETCDIR}/init.d \
    128128          ${SBIN}/ifup ${SBIN}/ifdown ${MAN8}/ifup.8 ${MAN8}/ifdown.8 \
    129           ${ETCDIR}/sysconfig/rc 
     129          ${ETCDIR}/sysconfig/rc
    130130
    131131.PHONY: all create-dirs install files links rcS rc0 rc1 rc2 rc3 rc4 rc5 rc6 uninstall
  • bootscripts/README

    rdf1207e rd4c8dce4  
    4949      - SKIPTMPCLEAN: skips cleaning of /tmp directory
    5050
    51       /etc/sysconfig/createfiles 
     51      /etc/sysconfig/createfiles
    5252         Each line is parsed, using space as a deliminator.
    5353         [NAME] [TYPE] [PERMISSIONS] [USER] [GROUP]
  • bootscripts/lfs/init.d/checkfs

    rdf1207e rd4c8dce4  
    6262         log_failure_msg "${msg}"
    6363
    64          log_info_msg "Press Enter to continue..." 
     64         log_info_msg "Press Enter to continue..."
    6565         wait_for_user
    6666         /etc/rc.d/init.d/halt stop
     
    7070
    7171      if [ -f /forcefsck ]; then
    72          msg="/forcefsck found, forcing file" 
     72         msg="/forcefsck found, forcing file"
    7373         msg="${msg} system checks as requested."
    7474         log_success_msg "$msg"
     
    109109         log_failure_msg "$msg"
    110110
    111          log_info_msg "Press Enter to continue..." 
     111         log_info_msg "Press Enter to continue..."
    112112         wait_for_user
    113113         reboot -f
     
    126126         log_failure_msg "$msg"
    127127
    128          log_info_msg "Press Enter to continue..." 
     128         log_info_msg "Press Enter to continue..."
    129129         wait_for_user
    130130         /etc/rc.d/init.d/halt stop
  • bootscripts/lfs/init.d/cleanfs

    rdf1207e rd4c8dce4  
    2323# Short-Description:   Cleans temporary directories early in the boot process.
    2424# Description:         Cleans temporary directories /run, /var/lock, and
    25 #                      optionally, /tmp.  cleanfs also creates /run/utmp 
     25#                      optionally, /tmp.  cleanfs also creates /run/utmp
    2626#                      and any files defined in /etc/sysconfig/createfiles.
    2727# X-LFS-Provided-By:   LFS
     
    3131
    3232# Function to create files/directory on boot.
    33 create_files() 
     33create_files()
    3434{
    3535   # Input to file descriptor 9 and output to stdin (redirection)
     
    6464                     mknod "${name}" p
    6565                     ;;
    66                   *) 
    67                      log_warning_msg "\nUnknown device type: ${dtype}" 
     66                  *)
     67                     log_warning_msg "\nUnknown device type: ${dtype}"
    6868                     ;;
    6969               esac
    7070               ;;
    7171            *)
    72                log_warning_msg "\nUnknown type: ${type}" 
     72               log_warning_msg "\nUnknown type: ${type}"
    7373               continue
    7474               ;;
     
    8888case "${1}" in
    8989   start)
    90       log_info_msg "Cleaning file systems:" 
     90      log_info_msg "Cleaning file systems:"
    9191
    9292      if [ "${SKIPTMPCLEAN}" = "" ]; then
    93          log_info_msg2 " /tmp" 
     93         log_info_msg2 " /tmp"
    9494         cd /tmp &&
    9595         find . -xdev -mindepth 1 ! -name lost+found -delete || failed=1
  • bootscripts/lfs/init.d/console

    rdf1207e rd4c8dce4  
    3333[ -r /etc/sysconfig/console ] && . /etc/sysconfig/console
    3434
    35 is_true() 
     35is_true()
    3636{
    3737   [ "$1" = "1" ] || [ "$1" = "yes" ] || [ "$1" = "true" ]
     
    4444      # See if we need to do anything
    4545      if [ -z "${KEYMAP}"         ] && [ -z "${KEYMAP_CORRECTIONS}" ] &&
    46          [ -z "${FONT}"           ] && [ -z "${LEGACY_CHARSET}"     ] &&     
    47          ! is_true "${UNICODE}"; then 
     46         [ -z "${FONT}"           ] && [ -z "${LEGACY_CHARSET}"     ] &&
     47         ! is_true "${UNICODE}"; then
    4848         exit 0
    4949      fi
     
    8686         loadkeys ${KEYMAP} >/dev/null 2>&1 ||
    8787         failed=1
    88      
     88
    8989      [ -z "${KEYMAP_CORRECTIONS}" ] ||
    9090         loadkeys ${KEYMAP_CORRECTIONS} >/dev/null 2>&1 ||
     
    9898      # If any of the commands above failed, the trap at the
    9999      # top would set $failed to 1
    100       ( exit $failed ) 
     100      ( exit $failed )
    101101      evaluate_retval
    102102
    103103      exit $failed
    104       ;;             
     104      ;;
    105105
    106    *)                 
     106   *)
    107107      echo "Usage:  ${0} {start}"
    108       exit 1         
    109       ;;             
     108      exit 1
     109      ;;
    110110esac
    111111
  • bootscripts/lfs/init.d/modules

    rdf1207e rd4c8dce4  
    3838      egrep -qv '^($|#)' /etc/sysconfig/modules || exit 0
    3939
    40       log_info_msg "Loading modules:" 
     40      log_info_msg "Loading modules:"
    4141
    4242      # Only try to load modules if the user has actually given us
     
    5555         # Print the module name if successful, otherwise take note.
    5656         if [ $? -eq 0 ]; then
    57             log_info_msg2 " ${module}" 
     57            log_info_msg2 " ${module}"
    5858         else
    5959            failedmod="${failedmod} ${module}"
     
    6464      log_success_msg2
    6565
    66       # Print a failure message with a list of any modules that 
     66      # Print a failure message with a list of any modules that
    6767      # may have failed to load.
    6868      if [ -n "${failedmod}" ]; then
    69          log_failure_msg "Failed to load modules:${failedmod}" 
     69         log_failure_msg "Failed to load modules:${failedmod}"
    7070         exit 1
    7171      fi
  • bootscripts/lfs/init.d/mountvirtfs

    rdf1207e rd4c8dce4  
    4040      chmod 1777 /run/shm /run/lock
    4141
    42       log_info_msg "Mounting virtual file systems: ${INFO}/run" 
     42      log_info_msg "Mounting virtual file systems: ${INFO}/run"
    4343
    4444      if ! mountpoint /proc >/dev/null; then
     
    4848
    4949      if ! mountpoint /sys >/dev/null; then
    50          log_info_msg2 " ${INFO}/sys" 
     50         log_info_msg2 " ${INFO}/sys"
    5151         mount -o nosuid,noexec,nodev /sys || failed=1
    5252      fi
    5353
    5454      if ! mountpoint /dev >/dev/null; then
    55          log_info_msg2 " ${INFO}/dev" 
     55         log_info_msg2 " ${INFO}/dev"
    5656         mount -o mode=0755,nosuid /dev  || failed=1
    5757      fi
    5858
    5959      ln -sfn /run/shm /dev/shm
    60      
     60
    6161      (exit ${failed})
    6262      evaluate_retval
  • bootscripts/lfs/init.d/network

    rdf1207e rd4c8dce4  
    4444   stop)
    4545      # Unmount any network mounted file systems
    46        umount --all --force --types nfs,cifs,nfs4 
     46       umount --all --force --types nfs,cifs,nfs4
    4747
    4848      # Reverse list
  • bootscripts/lfs/init.d/rc

    rdf1207e rd4c8dce4  
    1919   log_failure_msg
    2020   # $i is set when called
    21    MSG="FAILURE:\n\nYou should not be reading this error message.\n\n" 
     21   MSG="FAILURE:\n\nYou should not be reading this error message.\n\n"
    2222   MSG="${MSG}It means that an unforeseen error took place in\n"
    2323   MSG="${MSG}${i},\n"
    2424   MSG="${MSG}which exited with a return value of ${error_value}.\n"
    25  
     25
    2626   MSG="${MSG}If you're able to track this error down to a bug in one of\n"
    2727   MSG="${MSG}the files provided by the ${DISTRO_MINI} book,\n"
     
    3737   # $i is set when called
    3838   if [ ! -f ${i} ]; then
    39       log_warning_msg "${i} is not a valid symlink." 
     39      log_warning_msg "${i} is not a valid symlink."
    4040      SCRIPT_STAT="1"
    4141   fi
     
    103103
    104104if [ ! -d /etc/rc.d/rc${runlevel}.d ]; then
    105    log_info_msg "/etc/rc.d/rc${runlevel}.d does not exist.\n" 
     105   log_info_msg "/etc/rc.d/rc${runlevel}.d does not exist.\n"
    106106   exit 1
    107107fi
     
    110110
    111111# Note: In ${LOGLEVEL:-7}, it is ':' 'dash' '7', not minus 7
    112 if [ "$runlevel" == "S" ]; then 
    113    [ -r /etc/sysconfig/console ] && source /etc/sysconfig/console 
    114    dmesg -n "${LOGLEVEL:-7}" 
     112if [ "$runlevel" == "S" ]; then
     113   [ -r /etc/sysconfig/console ] && source /etc/sysconfig/console
     114   dmesg -n "${LOGLEVEL:-7}"
    115115fi
    116116
     
    226226if [ "${previous}" == "N" -a  "${runlevel}" != "S" ]; then
    227227   cat $BOOTLOG >> /var/log/boot.log
    228      
     228
    229229   # Mark the end of boot
    230230   echo "--------" >> /var/log/boot.log
    231    
     231
    232232   # Remove the temporary file
    233233   rm -f $BOOTLOG 2> /dev/null
  • bootscripts/lfs/init.d/setclock

    rdf1207e rd4c8dce4  
    1414
    1515### BEGIN INIT INFO
    16 # Provides:           
     16# Provides:
    1717# Required-Start:
    1818# Should-Start:        modules
  • bootscripts/lfs/init.d/swap

    rdf1207e rd4c8dce4  
    4949
    5050   status)
    51       log_success_msg "Retrieving swap status." 
     51      log_success_msg "Retrieving swap status."
    5252      swapon -s
    5353      ;;
  • bootscripts/lfs/init.d/udev

    rdf1207e rd4c8dce4  
    6161      # If any LVM based partitions are on the system, ensure they
    6262      # are activated so they can be used.
    63       if [ -x /sbin/vgchange ]; then /sbin/vgchange -a y >/dev/null; fi 
     63      if [ -x /sbin/vgchange ]; then /sbin/vgchange -a y >/dev/null; fi
    6464
    65       log_success_msg2 
     65      log_success_msg2
    6666      ;;
    6767
  • bootscripts/lfs/init.d/udev_retry

    rdf1207e rd4c8dce4  
    88#               DJ Lucas - dj@linuxfromscratch.org
    99# Update      : Bruce Dubbs - bdubbs@linuxfromscratch.org
    10 #               Bryan Kadzban - 
     10#               Bryan Kadzban -
    1111#
    1212# Version     : LFS 7.0
     
    4040      # From Debian: "copy the rules generated before / was mounted
    4141      # read-write":
    42    
     42
    4343      for file in ${rundir}/tmp-rules--*; do
    4444         dest=${file##*tmp-rules--}
     
    4848      done
    4949
    50       # Re-trigger the uevents that may have failed, 
     50      # Re-trigger the uevents that may have failed,
    5151      # in hope they will succeed now
    5252      /bin/sed -e 's/#.*$//' /etc/sysconfig/udev_retry | /bin/grep -v '^$' | \
  • bootscripts/lfs/lib/services/init-functions

    rdf1207e rd4c8dce4  
    11#!/bin/sh
    22########################################################################
    3 # 
     3#
    44# Begin /lib/lsb/init-funtions
    55#
     
    155155        fi
    156156
    157         # Return a value ONLY 
     157        # Return a value ONLY
    158158        # It is the init script's (or distribution's functions) responsibilty
    159159        # to log messages!
     
    161161
    162162            0)
    163                 # Program is already running correctly, this is a 
     163                # Program is already running correctly, this is a
    164164                # successful start.
    165165                return 0
     
    231231                shift 2
    232232                ;;
    233  
     233
    234234             *)
    235235                 program="${1}"
     
    244244                 if [ -n "${3}" ]; then
    245245                     return 2
    246                  else 
     246                 else
    247247                     break
    248                  fi                 
     248                 fi
    249249                 ;;
    250250        esac
     
    322322    if [ "${?}" -eq "0" ]; then # Signal is used to terminate the program
    323323
    324         # Account for empty pidlist (pid file still exists and no 
     324        # Account for empty pidlist (pid file still exists and no
    325325        # signal was given)
    326326        if [ "${pidlist}" != "" ]; then
     
    337337                    kill "${signal}" "${pid}" 2> /dev/null
    338338
    339                     # Wait up to ${delay}/10 seconds to for "${pid}" to 
     339                    # Wait up to ${delay}/10 seconds to for "${pid}" to
    340340                    # terminate in 10ths of a second
    341341
     
    434434        prefix=`echo "${program}" | sed 's/[^/]*$//'`
    435435
    436         if [ -z "${prefix}" ]; then 
     436        if [ -z "${prefix}" ]; then
    437437           progname="${program}"
    438438        else
     
    584584    timespec
    585585    /bin/echo -e "${STAMP} ${logmessage} OK" >> ${BOOTLOG}
    586    
     586
    587587    return 0
    588588}
     
    594594
    595595    echo " OK" >> ${BOOTLOG}
    596    
     596
    597597    return 0
    598598}
     
    619619    logmessage=`echo "${@}" | sed 's/\\\033[^a-zA-Z]*.//g'`
    620620    /bin/echo -e "${STAMP} ${logmessage} FAIL" >> ${BOOTLOG}
    621    
     621
    622622    return 0
    623623}
     
    629629
    630630    echo "FAIL" >> ${BOOTLOG}
    631    
     631
    632632    return 0
    633633}
     
    651651    timespec
    652652    /bin/echo -e "${STAMP} ${logmessage} WARN" >> ${BOOTLOG}
    653    
     653
    654654    return 0
    655655}
     
    663663    logmessage=`echo "${@}" | sed 's/\\\033[^a-zA-Z]*.//g'`
    664664    /bin/echo "SKIP" >> ${BOOTLOG}
    665    
     665
    666666    return 0
    667667}
     
    684684    timespec
    685685    /bin/echo -n -e "${STAMP} ${logmessage}" >> ${BOOTLOG}
    686    
     686
    687687    return 0
    688688}
     
    695695    logmessage=`echo "${@}" | sed 's/\\\033[^a-zA-Z]*.//g'`
    696696    /bin/echo -n -e "${logmessage}" >> ${BOOTLOG}
    697    
     697
    698698    return 0
    699699}
  • bootscripts/lfs/lib/services/ipv4-static-route

    rdf1207e rd4c8dce4  
    5757
    5858   if [ -z "${PREFIX}" ]; then
    59       log_failure_msg "PREFIX variable missing from ${IFCONFIG}, cannot continue." 
     59      log_failure_msg "PREFIX variable missing from ${IFCONFIG}, cannot continue."
    6060      exit 1
    6161   fi
    62    
     62
    6363   args="${args} ${IP}/${PREFIX}"
    6464   desc="${desc}${IP}/${PREFIX}"
     
    8383      evaluate_retval
    8484   ;;
    85    
     85
    8686   down)
    8787      log_info_msg "Removing '${desc}' route from the ${1} interface..."
     
    8989      evaluate_retval
    9090   ;;
    91    
     91
    9292   *)
    9393      echo "Usage: ${0} [interface] {up|down}"
  • bootscripts/lfs/sbin/ifdown

    rdf1207e rd4c8dce4  
    1 #!/bin/bash 
     1#!/bin/bash
    22########################################################################
    33# Begin /sbin/ifdown
     
    3131                       echo "${USAGE}" >& 2
    3232                       exit 2 ;;
    33                    
     33
    3434      *)               break ;;
    3535   esac
     
    5454[ "${file}" = "${file%""~""}" ] || exit 0
    5555
    56 . /lib/lsb/init-functions 
     56. /lib/lsb/init-functions
    5757
    5858if [ ! -r "${file}" ]; then
  • bootscripts/lfs/sbin/ifup

    rdf1207e rd4c8dce4  
    4949
    5050      --version | -V)  echo "${VERSTR}"; exit 0 ;;
    51    
     51
    5252      -*)              echo "ifup: ${1}: invalid option" >&2
    5353                       echo "${USAGE}" >& 2
    5454                       exit 2 ;;
    55                        
     55
    5656      *)               break ;;
    5757   esac
     
    103103for S in ${SERVICE}; do
    104104  if [ ! -x "/lib/services/${S}" ]; then
    105     MSG="\nUnable to process ${file}.  Either " 
     105    MSG="\nUnable to process ${file}.  Either "
    106106    MSG="${MSG}the SERVICE '${S} was not present "
    107107    MSG="${MSG}or cannot be executed."
     
    114114
    115115# Create/configure the interface
    116 for S in ${SERVICE}; do 
     116for S in ${SERVICE}; do
    117117  IFCONFIG=${file} /lib/services/${S} ${IFACE} up
    118118done
     
    129129if test -n "${MTU}"; then
    130130   if [[ ${MTU} =~ ^[0-9]+$ ]] && [[ $MTU -ge 68 ]] ; then
    131       for I in $IFACE $INTERFACE_COMPONENTS; do 
    132          ip link set dev $I mtu $MTU; 
     131      for I in $IFACE $INTERFACE_COMPONENTS; do
     132         ip link set dev $I mtu $MTU;
    133133      done
    134134   else
    135135      log_info_msg2 "Invalid MTU $MTU"
    136136   fi
    137 fi 
     137fi
    138138
    139139# Set the route default gateway if requested
  • bootscripts/lfs/sbin/ifup.8

    rdf1207e rd4c8dce4  
    1515
    1616DESCRIPTION
    17        The  ifup  and  ifdown  commands  may be used to configure 
    18        (or, respectively, deconfigure) a network interface based 
    19        on interface  definitions in the file 
     17       The  ifup  and  ifdown  commands  may be used to configure
     18       (or, respectively, deconfigure) a network interface based
     19       on interface  definitions in the file
    2020       /etc/sysconfig/ifconfig.IFACE.
    2121
     
    3131EXAMPLES
    3232       ifup eth0
    33               Bring up the interface defined in the file 
     33              Bring up the interface defined in the file
    3434              /etc/sysconfig/ifconfig.eth0
    3535
     
    5050                LABEL=eth0:2
    5151                SERVICE=dhcpcd
    52          
     52
    5353                DHCP_START="--waitip"
    5454                DHCP_STOP="-k"
    55          
     55
    5656                # Set PRINTIP="yes" to have the script print the DHCP IP address
    5757                PRINTIP="yes"
    58          
     58
    5959                # Set PRINTALL="yes" to print the DHCP assigned values for
    60                 # IP, SM, DG, and 1st NS. 
     60                # IP, SM, DG, and 1st NS.
    6161                PRINTALL="no"
    6262
    6363       ifup br0
    64               Bring up the interface defined in the file 
     64              Bring up the interface defined in the file
    6565              /etc/sysconfig/ifconfig.br0
    66                    
     66
    6767                ONBOOT=yes
    6868                IFACE=br0
     
    7878NOTES
    7979       The program does not configure network interfaces direct-
    80        ly.  It runs scripts defined by the SERVICE variable in 
     80       ly.  It runs scripts defined by the SERVICE variable in
    8181       the network configuration file.
    8282
     
    8484       ment variables set:
    8585
    86        IFACE   - The interface to configure, e.g. eth0.  It must 
     86       IFACE   - The interface to configure, e.g. eth0.  It must
    8787                 be available in /sys/class/net.
    8888
    8989       SERVICE - The service script to run to bring up the inter-
    90                  face.  Standard services are ipv4-static and 
     90                 face.  Standard services are ipv4-static and
    9191                 ipv4-static-route.  Other services such as dhcp
    9292                 or bridge may be installed.  This value may
     
    9494                 compound device such as a bridge.
    9595
    96        ONBOOT  - If set to 'yes', the specified interface is 
     96       ONBOOT  - If set to 'yes', the specified interface is
    9797                 configured by the netowrk boot script.
    9898
    9999       GATEWAY - The default IP address to use for routing if
    100                  the destination IP address is not in a static 
    101                  route or on a local network, e.g., 192.168.1.1. 
    102                  For secondary IP addresses on an interface, this 
     100                 the destination IP address is not in a static
     101                 route or on a local network, e.g., 192.168.1.1.
     102                 For secondary IP addresses on an interface, this
    103103                 parameter should not be specified.  If the service
    104104                 is ipv4-static-route, this parameter must NOT
     
    106106
    107107       STATIC_GATEWAY - The default IP address to use for routing
    108                  when setting a static routing address. 
     108                 when setting a static routing address.
    109109
    110110       INTERFACE_COMPONENTS - A list of component interfaces
    111                  only needed for a compound device such as a bridge. 
    112                  This list is normally a single value, e.g. eth0, 
     111                 only needed for a compound device such as a bridge.
     112                 This list is normally a single value, e.g. eth0,
    113113                 for use with a virtual host such as kvm.
    114114
     
    117117       ipv4-static
    118118
    119          IP        - The IP address of the interface, 
     119         IP        - The IP address of the interface,
    120120                     e.g. 192.168.1.2.
    121121
     
    123123                     number of the interface.  The default, if not
    124124                     specified, is 24.
    125        
    126          LABEL     - The label to be assigned to the interface. 
     125
     126         LABEL     - The label to be assigned to the interface.
    127127                     This is normally specified for assigning
    128128                     additional IP addresses to a network
    129129                     device.  Example: eth0:2 (optional)
    130        
    131          BROADCAST - The brodcast address for this interface, 
    132                      e.g 192.168.1.255.  If not specified, 
     130
     131         BROADCAST - The brodcast address for this interface,
     132                     e.g 192.168.1.255.  If not specified,
    133133                     the broadcast address will be calculated
    134134                     from the IP and PREFIX.
     
    136136       ipv4-static-route
    137137
    138          TYPE    -  The type of route, typically 'default', 
     138         TYPE    -  The type of route, typically 'default',
    139139                    'network', 'or host'.
    140140
     
    146146         STATIC_GATEWAY - The IP address for a network route.
    147147
    148          SOURCE  -  The source IP address to prefer when sending 
     148         SOURCE  -  The source IP address to prefer when sending
    149149                    to the destinations covered by the specified
    150150                    route. (optional)
     
    155155                      at startup.
    156156
    157          DHCP_STOP  - Optional paremeters to pass to the dhcp client 
     157         DHCP_STOP  - Optional paremeters to pass to the dhcp client
    158158                      at shutdown.
    159159
     
    165165
    166166         IP_FORWARD - An optional flag to enable the system to forward
    167                       inbound IP packets received by one interface to 
    168                       another outbound interface. 
     167                      inbound IP packets received by one interface to
     168                      another outbound interface.
    169169
    170170         STP        - Set bridge spanning tree protocol.  Default is no.
     
    172172FILES
    173173       /etc/sysconfig/ifconfig.*
    174               definitions of network interfaces 
     174              definitions of network interfaces
    175175
    176176AUTHORS
    177177       The ifup/ifdown suite was written by Nathan Coulson
    178        <nathan@linuxfromscratch.org> and Kevin P. Fleming 
     178       <nathan@linuxfromscratch.org> and Kevin P. Fleming
    179179       <kpfleming@linuxfromscratch.org>
    180180       and updated by Bruce Dubbs <bdubbs@linuxfromscratch>.
  • bootscripts/lfs/sysconfig/createfiles

    rdf1207e rd4c8dce4  
    1212#               <filename> <type> <permissions> <user> <group>
    1313#               if type is equal to "dev"
    14 #               <filename> <type> <permissions> <user> <group> <devtype> 
     14#               <filename> <type> <permissions> <user> <group> <devtype>
    1515#             <major> <minor>
    1616#
     
    2323#                       block creates a block device
    2424#                       char creates a character deivce
    25 #                       pipe creates a pipe, this will ignore the <major> and 
     25#                       pipe creates a pipe, this will ignore the <major> and
    2626#           <minor> fields
    27 #               <major> and <minor> are the major and minor numbers used for 
     27#               <major> and <minor> are the major and minor numbers used for
    2828#     the device.
    2929########################################################################
  • chapter01/changelog.xml

    rdf1207e rd4c8dce4  
    4141    -->
    4242    <listitem>
    43       <para>2021-08-25</para>
     43      <para>2021-09-15</para>
    4444      <itemizedlist>
    4545        <listitem>
    46           <para>[xry111] - Update to man-pages-5.13. Fixes
    47           <ulink url="&lfs-ticket-root;4915">#4915</ulink>.</para>
     46          <para>[bdubbs] - Ensure tcl documentation instructions are present. Fixes
     47          <ulink url="&lfs-ticket-root;4923">#4923</ulink>.</para>
     48        </listitem>
     49        <listitem>
     50          <para>[bdubbs] - Update to Python3-3.9.7. Fixes
     51          <ulink url="&lfs-ticket-root;4916">#4916</ulink>.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[bdubbs] - Update to linux-5.14.3. Fixes
     55          <ulink url="&lfs-ticket-root;4913">#4913</ulink>.</para>
     56        </listitem>
     57        <listitem>
     58          <para>[bdubbs] - Update to libcap-2.57. Fixes
     59          <ulink url="&lfs-ticket-root;4912">#4912</ulink>.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[bdubbs] - Update to iproute2-5.14.0. Fixes
     63          <ulink url="&lfs-ticket-root;4917">#4917</ulink>.</para>
     64        </listitem>
     65        <listitem>
     66          <para>[bdubbs] - Update to inetutils-2.2. Fixes
     67          <ulink url="&lfs-ticket-root;4918">#4918</ulink>.</para>
     68        </listitem>
     69        <listitem>
     70          <para>[bdubbs] - Update to gzip-1.11. Fixes
     71          <ulink url="&lfs-ticket-root;4920">#4920</ulink>.</para>
     72        </listitem>
     73        <listitem>
     74          <para>[bdubbs] - Update to gdbm-1.21. Fixes
     75          <ulink url="&lfs-ticket-root;4919">#4919</ulink>.</para>
     76        </listitem>
     77        <listitem>
     78          <para>[bdubbs] - Update to bison-3.8.1. Fixes
     79          <ulink url="&lfs-ticket-root;4921">#4921</ulink>.</para>
     80        </listitem>
     81        <listitem>
     82          <para>[bdubbs] - Update to bc-5.0.2. Fixes
     83          <ulink url="&lfs-ticket-root;4908">#4905</ulink>.</para>
    4884        </listitem>
    4985      </itemizedlist>
     
    5187
    5288    <listitem>
    53       <para>2021-08-25</para>
     89      <para>2021-09-08</para>
    5490      <itemizedlist>
    5591        <listitem>
    56           <para>[bdubbs] - LFS-11.0-rc3 released.</para>
    57         </listitem>
    58         <listitem>
    59           <para>[bdubbs] - Update to e2fsprogs-1.46.4. Fixes
    60           <ulink url="&lfs-ticket-root;4910">#4910</ulink>.</para>
    61         </listitem>
    62         <listitem>
    63           <para>[bdubbs] - Update to meson-0.59.1. Fixes
    64           <ulink url="&lfs-ticket-root;4909">#4909</ulink>.</para>
    65         </listitem>
    66         <listitem>
    67           <para>[bdubbs] - Update to util-linux 2.37.2. Fixes
    68           <ulink url="&lfs-ticket-root;4908">#4908</ulink>.</para>
    69         </listitem>
    70         <listitem>
    71           <para>[bdubbs] - Update to linux-5.13.12. Fixes
    72           <ulink url="&lfs-ticket-root;4907">#4907</ulink>.</para>
    73         </listitem>
    74         <listitem>
    75           <para>[bdubbs] - Update to libcap-2.53. Fixes
    76           <ulink url="&lfs-ticket-root;4906">#4906</ulink>.</para>
    77         </listitem>
    78         <listitem>
    79           <para>[xry111] - Update to openssl-1.1.1l (security fixes). Fixes
    80           <ulink url="&lfs-ticket-root;4911">#4911</ulink>.</para>
     92          <para>[renodr] - Fix regressions in File that result in improper
     93          detection of text and XZ files.</para>
    8194        </listitem>
    8295      </itemizedlist>
     
    8497
    8598    <listitem>
    86       <para>2021-08-20</para>
     99      <para>2021-09-06</para>
    87100      <itemizedlist>
    88101        <listitem>
    89            <para>[bdubbs] - Add a sed to glibc in Chapter 8 to fix a
    90            critical security issue.</para>
     102          <para>[bdubbs] - Text clarifications in the backup/restore section
     103          of Chapter 7. Thanks to Kevin Buckley for the patch.</para>
    91104        </listitem>
    92105      </itemizedlist>
     
    94107
    95108    <listitem>
    96       <para>2021-08-18</para>
     109      <para>2021-09-01</para>
    97110      <itemizedlist>
    98111        <listitem>
    99            <para>[bdubbs] - Eliminate an instruction to remove a test
    100            in bunutils that no longer fails.</para>
     112          <para>[bdubbs] - LFS-11.0 released.</para>
    101113        </listitem>
    102114      </itemizedlist>
    103115    </listitem>
    104 
    105     <listitem>
    106       <para>2021-08-16</para>
    107       <itemizedlist>
    108         <listitem>
    109           <para>[dj] - add p11-kit to dependencies list for systemd.</para>
    110         </listitem>
    111       </itemizedlist>
    112     </listitem>
    113 
    114     <listitem>
    115       <para>2021-08-15</para>
    116       <itemizedlist>
    117         <listitem>
    118           <para>[renodr] - LFS-11.0-rc1 released.</para>
    119         </listitem>
    120       </itemizedlist>
    121     </listitem>
    122    
    123     <listitem>
    124       <para>2021-08-14</para>
    125       <itemizedlist>
    126         <listitem>
    127           <para>[bdubbs] - Update to grep-3.7. Fixes
    128           <ulink url="&lfs-ticket-root;4901">#4901</ulink>.</para>
    129         </listitem>
    130       </itemizedlist>
    131     </listitem>
    132 
    133     <listitem>
    134       <para>2021-08-13</para>
    135       <itemizedlist>
    136         <listitem>
    137           <para>[bdubbs] - Update to linux-5.13.10. Fixes
    138           <ulink url="&lfs-ticket-root;4904">#4904</ulink>.</para>
    139         </listitem>
    140         <listitem>
    141           <para>[bdubbs] - Update to bc-5.0.0. Fixes
    142           <ulink url="&lfs-ticket-root;4903">#4903</ulink>.</para>
    143         </listitem>
    144         <listitem>
    145           <para>[bdubbs] - Update to vim-8.2.3337. Addresses
    146           <ulink url="&lfs-ticket-root;4521">#4521</ulink>.</para>
    147         </listitem>
    148         <listitem>
    149            <para>[bdubbs] - Add binutils-2.37 upstream patch.</para>
    150         </listitem>
    151       </itemizedlist>
    152     </listitem>
    153 
    154     <listitem>
    155       <para>2021-08-08</para>
    156       <itemizedlist>
    157         <listitem>
    158           <para>[bdubbs] - Update to linux-5.13.9. Fixes
    159           <ulink url="&lfs-ticket-root;4900">#4900</ulink>.</para>
    160         </listitem>
    161         <listitem>
    162           <para>[bdubbs] - Update to libffi-3.4.2. Fixes
    163           <ulink url="&lfs-ticket-root;4902">#4902</ulink>.</para>
    164         </listitem>
    165       </itemizedlist>
    166     </listitem>
    167 
    168     <listitem>
    169       <para>2021-08-06</para>
    170       <itemizedlist>
    171         <listitem>
    172           <para>[xry111] - Fix
    173           <filename class="libraryfile">libasan.a</filename> building
    174           GCC with Glibc-2.34.  Addresses
    175           <ulink url="https://wiki.linuxfromscratch.org/blfs/ticket/15350">
    176           BLFS #15350</ulink>.</para>
    177         </listitem>
    178       </itemizedlist>
    179     </listitem>
    180 
    181     <listitem>
    182       <para>2021-08-02</para>
    183       <itemizedlist>
    184         <listitem>
    185           <para>[bdubbs] - Update to glibc-2.34. Fixes
    186           <ulink url="&lfs-ticket-root;4897">#4897</ulink>.</para>
    187         </listitem>
    188         <listitem>
    189           <para>[bdubbs] - Update to diffutils-3.8. Fixes
    190           <ulink url="&lfs-ticket-root;4898">#4898</ulink>.</para>
    191         </listitem>
    192         <listitem>
    193           <para>[bdubbs] - Update to libcap-2.52. Fixes
    194           <ulink url="&lfs-ticket-root;4899">#4899</ulink>.</para>
    195         </listitem>
    196       </itemizedlist>
    197     </listitem>
    198 
    199     <listitem>
    200       <para>2021-08-01</para>
    201       <itemizedlist>
    202         <listitem>
    203            <para>[bdubbs] - Remove unneeded sed commands from automake and
    204            coreutils. Fixes
    205            <ulink url="&lfs-ticket-root;4895">#4895</ulink>.</para>
    206         </listitem>
    207         <listitem>
    208           <para>[bdubbs] - Update to linux-5.13.7. Fixes
    209           <ulink url="&lfs-ticket-root;4893">#4893</ulink>.</para>
    210         </listitem>
    211         <listitem>
    212           <para>[bdubbs] - Update to e2fsprogs-1.46.3. Fixes
    213           <ulink url="&lfs-ticket-root;4896">#4896</ulink>.</para>
    214         </listitem>
    215       </itemizedlist>
    216     </listitem>
    217 
    218     <listitem>
    219       <para>2021-07-27</para>
    220       <itemizedlist>
    221         <listitem>
    222           <para>[xry111] - Update to GCC-11.2.0. Fixes
    223           <ulink url="&lfs-ticket-root;4883">#4883</ulink>.</para>
    224         </listitem>
    225         <listitem>
    226           <para>[xry111] - Update to inetutils-2.1. Fixes
    227           <ulink url="&lfs-ticket-root;4892">#4892</ulink>.</para>
    228         </listitem>
    229         <listitem>
    230           <para>[xry111] - Update to automake-1.16.4. Fixes
    231           <ulink url="&lfs-ticket-root;4894">#4894</ulink>.</para>
    232         </listitem>
    233         <listitem>
    234           <para>[xry111] - Always use --strip-unneeded for stripping.</para>
    235         </listitem>
    236       </itemizedlist>
    237     </listitem>
    238 
    239     <listitem>
    240       <para>2021-07-27</para>
    241       <itemizedlist>
    242         <listitem>
    243           <para>[xry111] - Use workaround for Glibc NSS modules during
    244           stripping, to prevent bash from crash.</para>
    245         </listitem>
    246       </itemizedlist>
    247     </listitem>
    248 
    249     <listitem>
    250       <para>2021-07-26</para>
    251       <itemizedlist>
    252         <listitem>
    253           <para>[thomas] - Fix a programming error in shadow-4.9</para>
    254         </listitem>
    255       </itemizedlist>
    256     </listitem>
    257 
    258     <listitem>
    259       <para>2021-07-25</para>
    260       <itemizedlist>
    261         <listitem>
    262           <para>[xry111] - (Hopefully) complete stripping workaround.</para>
    263         </listitem>
    264       </itemizedlist>
    265     </listitem>
    266 
    267     <listitem>
    268       <para>2021-07-25</para>
    269       <itemizedlist>
    270         <listitem>
    271           <para>[bdubbs] - Add workaround to strip libraries
    272           correctly.</para>
    273         </listitem>
    274         <listitem>
    275           <para>[xry111] - Add workaround to install Binutils-2.37 man pages
    276           correctly.</para>
    277         </listitem>
    278         <listitem>
    279           <para>[bdubbs] - Update to shadow-4.9. Fixes
    280           <ulink url="&lfs-ticket-root;4891">#4891</ulink>.</para>
    281         </listitem>
    282         <listitem>
    283           <para>[bdubbs] - Update to util-linux 2.37.1. Fixes
    284           <ulink url="&lfs-ticket-root;4890">#4890</ulink>.</para>
    285         </listitem>
    286       </itemizedlist>
    287     </listitem>
    288 
    289     <listitem>
    290       <para>2021-07-23</para>
    291       <itemizedlist>
    292         <listitem revision="systemd">
    293           <para>[renodr] - Guard systemd against CVE-2021-33910. Fixes
    294           <ulink url="&lfs-ticket-root;4889">#4889</ulink>.</para>
    295         </listitem>
    296         <listitem>
    297           <para>[renodr] - Update to meson-0.59.0. Fixes
    298           <ulink url="&lfs-ticket-root;4888">#4888</ulink>.</para>
    299         </listitem>
    300         <listitem>
    301           <para>[renodr] - Update to binutils-2.37. Fixes
    302           <ulink url="&lfs-ticket-root;4887">#4887</ulink>.</para>
    303         </listitem>
    304         <listitem>
    305           <para>[renodr] - Update to less-590. Fixes
    306           <ulink url="&lfs-ticket-root;4884">#4884</ulink>.</para>
    307         </listitem>
    308       </itemizedlist>
    309     </listitem>
    310 
    311     <listitem>
    312       <para>2021-07-22</para>
    313       <itemizedlist>
    314         <listitem>
    315           <para>[dj] - Correct page IDs in Chapter 08 dejagnu, expect, and
    316           tcl.</para>
    317         </listitem>
    318         <listitem>
    319           <para>[dj] - Ensure that glibc installs ldconfig and sln to
    320           <filename class="directory">/usr/sbin</filename>.</para>
    321         </listitem>
    322       </itemizedlist>
    323     </listitem>
    324 
    325     <listitem>
    326       <para>2021-07-20</para>
    327       <itemizedlist>
    328         <listitem>
    329           <para>[ken] - Update to linux-5.13.4 (security fix). Fixes
    330           <ulink url="&lfs-ticket-root;4886">#4886</ulink>.</para>
    331         </listitem>
    332         <listitem>
    333           <para>[xry111] - Use a fixed, non-zero UID for
    334           <systemitem class="username">tester</systemitem> user, and spawn a
    335           new pseudoterminal to satisfy bash testsuite.</para>
    336         </listitem>
    337       </itemizedlist>
    338     </listitem>
    339 
    340     <listitem>
    341       <para>2021-07-19</para>
    342       <itemizedlist>
    343         <listitem>
    344           <para>[renodr] - Add text about security advisories to the
    345           Errata page.</para>
    346         </listitem>
    347       </itemizedlist>
    348     </listitem>
    349 
    350     <listitem>
    351       <para>2021-07-17</para>
    352       <itemizedlist>
    353         <listitem>
    354           <para>[ken] - Fix test failures in perl-5.34.0 by building less before
    355           perl and by patching perl for a problem highlighted by gdbm-1.20. Fixes
    356           <ulink url="&lfs-ticket-root;4885">#4885</ulink>.</para>
    357         </listitem>
    358       </itemizedlist>
    359     </listitem>
    360 
    361     <listitem>
    362       <para>2021-07-15</para>
    363       <itemizedlist>
    364         <listitem>
    365           <para>[bdubbs] - Remove modifications to m4 that are no longer needed.</para>
    366         </listitem>
    367       </itemizedlist>
    368     </listitem>
    369 
    370     <listitem>
    371       <para>2021-07-08</para>
    372       <itemizedlist>
    373         <listitem revision="systemd">
    374           <para>[renodr] - Added Jinja2-3.0.1.</para>
    375         </listitem>
    376         <listitem revision="systemd">
    377           <para>[renodr] - Added MarkupSafe-2.0.1.</para>
    378         </listitem>
    379         <listitem>
    380           <para>[renodr] - Update to texinfo-6.8. Fixes
    381           <ulink url="&lfs-ticket-root;4880">#4880</ulink>.</para>
    382         </listitem>
    383         <listitem>
    384           <para>[renodr] - Update to iproute2-5.13.0. Fixes
    385           <ulink url="&lfs-ticket-root;4879">#4879</ulink>.</para>
    386         </listitem>
    387         <listitem>
    388           <para>[renodr] - Update to Python-3.9.6 (Security Update). Fixes
    389           <ulink url="&lfs-ticket-root;4878">#4878</ulink>.</para>
    390         </listitem>
    391         <listitem revision="systemd">
    392           <para>[renodr] - Update to systemd-249 (Security Update). Fixes
    393           <ulink url="&lfs-ticket-root;4882">#4882</ulink>.</para>
    394         </listitem>
    395         <listitem>
    396           <para>[renodr] - Update to Linux-5.13.1. Fixes
    397           <ulink url="&lfs-ticket-root;4873">#4873</ulink>.</para>
    398         </listitem>
    399       </itemizedlist>
    400     </listitem>
    401 
    402     <listitem>
    403       <para>2021-07-01</para>
    404       <itemizedlist>
    405         <listitem>
    406           <para>[ken] - Patch gcc to fix some regressions (will be
    407           needed to build firefox-91ESR in BLFS) and to allow it to
    408           build against linux-5.13.0 kernel headers. Fixes
    409           <ulink url="&lfs-ticket-root;4875">#4875</ulink>.</para>
    410         </listitem>
    411       </itemizedlist>
    412     </listitem>
    413 
    414     <listitem>
    415       <para>2021-06-28</para>
    416       <itemizedlist>
    417         <listitem>
    418           <para>[ken] - If installing individual locales, add 9 more
    419           used by libstdc++-v3 tests. Fixes
    420           <ulink url="&lfs-ticket-root;4877">#4877</ulink>.</para>
    421         </listitem>
    422       </itemizedlist>
    423     </listitem>
    424 
    425     <listitem>
    426       <para>2021-06-27</para>
    427       <itemizedlist>
    428         <listitem>
    429           <para>[bdubbs] - Update to bash-5.1.8. Fixes
    430           <ulink url="&lfs-ticket-root;4869">#4869</ulink>.</para>
    431         </listitem>
    432         <listitem>
    433           <para>[bdubbs] - Update to dejagnu-1.6.3. Fixes
    434           <ulink url="&lfs-ticket-root;4871">#4871</ulink>.</para>
    435         </listitem>
    436         <listitem>
    437           <para>[bdubbs] - Update to gdbm-1.20. Fixes
    438           <ulink url="&lfs-ticket-root;4872">#4872</ulink>.</para>
    439         </listitem>
    440         <listitem>
    441           <para>[bdubbs] - Update to libcap-2.51. Fixes
    442           <ulink url="&lfs-ticket-root;4874">#4874</ulink>.</para>
    443         </listitem>
    444         <listitem>
    445           <para>[bdubbs] - Update to man-pages-5.1. Fixes
    446           <ulink url="&lfs-ticket-root;4876">#4876</ulink>.</para>
    447         </listitem>
    448       </itemizedlist>
    449     </listitem>
    450 
    451     <listitem>
    452       <para>2021-06-18</para>
    453       <itemizedlist>
    454         <listitem>
    455           <para>[bdubbs] - Ensure libcap installs capsh.</para>
    456         </listitem>
    457       </itemizedlist>
    458     </listitem>
    459 
    460     <listitem>
    461       <para>2021-06-15</para>
    462       <itemizedlist>
    463         <listitem>
    464           <para>[bdubbs] - Update to iana-etc-20210611. Addresses
    465           <ulink url="&lfs-ticket-root;4722">#4722</ulink>.</para>
    466         </listitem>
    467         <listitem>
    468           <para>[bdubbs] - Update to vim-8.2.3001. Addresses
    469           <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para>
    470         </listitem>
    471         <listitem>
    472           <para>[bdubbs] - Update to util-linux-2.37. Fixes
    473           <ulink url="&lfs-ticket-root;4865">#4865</ulink>.</para>
    474         </listitem>
    475         <listitem>
    476           <para>[bdubbs] - Update to meson-0.58.1. Fixes
    477           <ulink url="&lfs-ticket-root;4867">#4867</ulink>.</para>
    478         </listitem>
    479         <listitem>
    480           <para>[bdubbs] - Update to linux-5.12.10. Fixes
    481           <ulink url="&lfs-ticket-root;4857">#4866</ulink>.</para>
    482         </listitem>
    483         <listitem>
    484           <para>[bdubbs] - Update to m4-1.4.19. Fixes
    485           <ulink url="&lfs-ticket-root;4864">#4864</ulink>.</para>
    486         </listitem>
    487         <listitem>
    488           <para>[bdubbs] - Update to grub-2.06. Fixes
    489           <ulink url="&lfs-ticket-root;4868">#4868</ulink>.</para>
    490         </listitem>
    491       </itemizedlist>
    492     </listitem>
    493 
    494     <listitem>
    495       <para>2021-06-09</para>
    496       <itemizedlist>
    497         <listitem>
    498           <para>[ken] - For consistency, make the cpp link in /usr/lib.
    499           </para>
    500         </listitem>
    501         <listitem>
    502           <para>[ken] - Install iproute2 programs in /usr/sbin for
    503           consistency.</para>
    504         </listitem>
    505       </itemizedlist>
    506     </listitem>
    507 
    508     <listitem revision="sysv">
    509       <para>2021-06-08</para>
    510       <itemizedlist>
    511         <listitem>
    512           <para>[bdubbs] - Make shutting down the netwrok more robust.</para>
    513         </listitem>
    514       </itemizedlist>
    515     </listitem>
    516 
    517     <listitem revision="sysv">
    518       <para>2021-06-02</para>
    519       <itemizedlist>
    520         <listitem>
    521           <para>[thomas] - Tweak sendsignal bootscript to avoid
    522             killing mdmod (if active).</para>
    523         </listitem>
    524       </itemizedlist>
    525     </listitem>
    526 
    527     <listitem>
    528       <para>2021-05-31</para>
    529       <itemizedlist>
    530         <listitem>
    531           <para>[ken] - Update to linux-5.12.8 (security fix). Fixes
    532           <ulink url="&lfs-ticket-root;4863">#4863</ulink>.</para>
    533         </listitem>
    534       </itemizedlist>
    535     </listitem>
    536 
    537     <listitem>
    538       <para>2021-05-28</para>
    539       <itemizedlist>
    540         <listitem>
    541           <para>[bdubbs] - Update to iana-etc-20210526. Addresses
    542           <ulink url="&lfs-ticket-root;4722">#4722</ulink>.</para>
    543         </listitem>
    544         <listitem>
    545           <para>[bdubbs] - Update to vim-8.2.2890. Addresses
    546           <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para>
    547         </listitem>
    548         <listitem>
    549           <para>[bdubbs] - Update to zstd-1.5.0. Fixes
    550           <ulink url="&lfs-ticket-root;4858">#4858</ulink>.</para>
    551         </listitem>
    552         <listitem>
    553           <para>[bdubbs] - Update to perl-5.34.0. Fixes
    554           <ulink url="&lfs-ticket-root;4860">#4860</ulink>.</para>
    555         </listitem>
    556         <listitem>
    557           <para>[bdubbs] - Update to linux-5.12.7. Fixes
    558           <ulink url="&lfs-ticket-root;4857">#4857</ulink>.</para>
    559         </listitem>
    560         <listitem>
    561           <para>[bdubbs] - Update to libcap-2.50. Fixes
    562           <ulink url="&lfs-ticket-root;4862">#4862</ulink>.</para>
    563         </listitem>
    564         <listitem>
    565           <para>[bdubbs] - Update to kmod-29. Fixes
    566           <ulink url="&lfs-ticket-root;4859">#4859</ulink>.</para>
    567         </listitem>
    568         <listitem>
    569           <para>[bdubbs] - Update to expat-2.4.1. Fixes
    570           <ulink url="&lfs-ticket-root;4861">#4861</ulink>.</para>
    571         </listitem>
    572         <listitem>
    573           <para>[bdubbs] - Update to elfutils-0.185. Fixes
    574           <ulink url="&lfs-ticket-root;4855">#4855</ulink>.</para>
    575         </listitem>
    576         <listitem>
    577           <para>[bdubbs] - Update to bc-4.0.2. Fixes
    578           <ulink url="&lfs-ticket-root;4855">#4855</ulink>.</para>
    579         </listitem>
    580       </itemizedlist>
    581     </listitem>
    582 
    583     <listitem>
    584       <para>2021-05-26</para>
    585       <itemizedlist>
    586         <listitem>
    587           <para>[thomas] - Remove obsolete DOCDIR option from iproute2 install command.</para>
    588         </listitem>
    589       </itemizedlist>
    590     </listitem>
    591 
    592     <listitem>
    593       <para>2021-05-17</para>
    594       <itemizedlist>
    595         <listitem>
    596           <para>[bdubbs] - Tweak install directories for eudev and e2fsprogs.
    597           Thanks to Ryan Marsaw for the report.</para>
    598         </listitem>
    599       </itemizedlist>
    600     </listitem>
    601 
    602     <listitem>
    603       <para>2021-05-14</para>
    604       <itemizedlist>
    605         <listitem>
    606           <para>[ken] - Add a Note about upgrading in OpenSSL.</para>
    607         </listitem>
    608       </itemizedlist>
    609     </listitem>
    610 
    611     <listitem>
    612       <para>2021-05-12</para>
    613       <itemizedlist>
    614         <listitem>
    615           <para>[bdubbs] - Removed instructions for running tests
    616           in Python due to an indefinite hang in the partial
    617           LFS envrionment.</para>
    618         </listitem>
    619         <listitem>
    620           <para>[renodr] - Moved LFS to a merged-/usr configuration. Thanks
    621           goes to Xi Ruoyao for doing almost all of the work. Fixes
    622           <ulink url="&lfs-ticket-root;4848">#4848</ulink>.</para>
    623         </listitem>
    624         <listitem>
    625           <para>[renodr] - Update to gcc-11.1.0. Fixes
    626           <ulink url="&lfs-ticket-root;4847">#4847</ulink>.</para>
    627         </listitem>
    628         <listitem>
    629           <para>[renodr] - Fix a FTBFS when building glibc-2.33 with
    630           gcc-11.1.0.</para>
    631         </listitem>
    632         <listitem revision="systemd">
    633           <para>[renodr] - Update to systemd-248. Fixes
    634           <ulink url="&lfs-ticket-root;4841">#4841</ulink>.</para>
    635         </listitem>
    636         <listitem>
    637           <para>[renodr] - Update to iproute2-5.12.0. Fixes
    638           <ulink url="&lfs-ticket-root;4852">#4852</ulink>.</para>
    639         </listitem>
    640         <listitem>
    641           <para>[renodr] - Update to Python-3.9.5. Fixes
    642           <ulink url="&lfs-ticket-root;4854">#4854</ulink>.</para>
    643         </listitem>
    644         <listitem>
    645           <para>[renodr] - Update to meson-0.58.0. Fixes
    646           <ulink url="&lfs-ticket-root;4853">#4853</ulink>.</para>
    647         </listitem>
    648         <listitem>
    649           <para>[renodr] - Update to linux-5.12.2. Fixes
    650           <ulink url="&lfs-ticket-root;4840">#4840</ulink>.</para>
    651         </listitem>
    652       </itemizedlist>
    653     </listitem>
    654 
    655     <listitem>
    656       <para>2021-04-28</para>
    657       <itemizedlist>
    658         <listitem revision="systemd">
    659           <para>[renodr] - Fix building systemd with Linux-API-Headers 5.11.14
    660           and higher, as well as with meson-0.57.2. Fixes
    661           <ulink url="&lfs-ticket-root;4851">#4851</ulink>.</para>
    662         </listitem>
    663         <listitem>
    664           <para>[bdubbs] - Add manual locales needed for tests
    665           if using alternate locale installation instructions. Fixes
    666           <ulink url="&lfs-ticket-root;4844">#4844</ulink>.</para>
    667         </listitem>
    668         <listitem>
    669           <para>[bdubbs] - Minor changes to boot scripts. Fixes
    670           <ulink url="&lfs-ticket-root;4842">#4842</ulink>.
    671           Thanks to Scott Andrews for the report.</para>
    672         </listitem>
    673       </itemizedlist>
    674     </listitem>
    675 
    676     <listitem>
    677       <para>2021-04-26</para>
    678       <itemizedlist>
    679         <listitem>
    680           <para>[bdubbs] - Update to vim-8.2.2812. Addresses
    681           <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para>
    682         </listitem>
    683         <listitem>
    684           <para>[bdubbs] - Update to iana-etc-20210407. Addresses
    685           <ulink url="&lfs-ticket-root;4722">#4722</ulink>.</para>
    686         </listitem>
    687         <listitem>
    688           <para>[bdubbs] - Update to Python3-3.9.4. Fixes
    689           <ulink url="&lfs-ticket-root;4843">#4843</ulink>.</para>
    690         </listitem>
    691         <listitem>
    692           <para>[bdubbs] - Update to meson-0.57.2. Fixes
    693           <ulink url="&lfs-ticket-root;4846">#4846</ulink>.</para>
    694         </listitem>
    695         <listitem>
    696           <para>[bdubbs] - Update to linux-5.11.16. Addresses
    697           <ulink url="&lfs-ticket-root;4840">#4840</ulink>.</para>
    698         </listitem>
    699         <listitem>
    700           <para>[bdubbs] - Update to less-581. Fixes
    701           <ulink url="&lfs-ticket-root;4849">#4849</ulink>.</para>
    702         </listitem>
    703         <listitem>
    704           <para>[bdubbs] - Update to file-5.40. Fixes
    705           <ulink url="&lfs-ticket-root;4839">#4839</ulink>.</para>
    706         </listitem>
    707         <listitem>
    708           <para>[bdubbs] - Update to bc-4.0.1. Fixes
    709           <ulink url="&lfs-ticket-root;4845">#4845</ulink>.</para>
    710         </listitem>
    711       </itemizedlist>
    712     </listitem>
    713 
    714     <listitem>
    715       <para>2021-04-22</para>
    716       <itemizedlist>
    717         <listitem>
    718           <para>[xry111] - Revert 2772bb9c, as the proposed fix in it is
    719           rejected by Python maintainers explicitly.</para>
    720         </listitem>
    721       </itemizedlist>
    722     </listitem>
    723 
    724     <listitem>
    725       <para>2021-04-06</para>
    726       <itemizedlist>
    727         <listitem>
    728           <para>The XML source code of this book is migrated from SVN
    729           to Git.</para>
    730         </listitem>
    731       </itemizedlist>
    732     </listitem>
    733 
    734     <listitem>
    735       <para>2021-03-26</para>
    736       <itemizedlist>
    737         <listitem>
    738           <para>[renodr] - Update to openssl-1.1.1k (Security Update). Fixes
    739           <ulink url="&lfs-ticket-root;4838">#4838</ulink>.</para>
    740         </listitem>
    741         <listitem>
    742           <para>[renodr] - Update to attr-2.5.1. Fixes
    743           <ulink url="&lfs-ticket-root;4833">#4833</ulink>.</para>
    744         </listitem>
    745         <listitem>
    746           <para>[renodr] - Update to linux-5.11.10. Fixes
    747           <ulink url="&lfs-ticket-root;4834">#4834</ulink>.</para>
    748         </listitem>
    749         <listitem>
    750           <para>[renodr] - Update to bc-3.3.4. Fixes
    751           <ulink url="&lfs-ticket-root;4835">#4835</ulink>.</para>
    752         </listitem>
    753         <listitem>
    754           <para>[renodr] - Update to man-pages-5.11. Fixes
    755           <ulink url="&lfs-ticket-root;4836">#4836</ulink>.</para>
    756         </listitem>
    757         <listitem>
    758           <para>[renodr] - Update to expat-2.3.0. Fixes
    759           <ulink url="&lfs-ticket-root;4837">#4837</ulink>.</para>
    760         </listitem>
    761         <listitem>
    762           <para>[renodr] - Update to acl-2.3.1. Fixes
    763           <ulink url="&lfs-ticket-root;4832">#4832</ulink>.</para>
    764         </listitem>
    765       </itemizedlist>
    766     </listitem>
    767 
    768     <listitem>
    769       <para>2021-03-17</para>
    770       <itemizedlist>
    771         <listitem>
    772           <para>[xry111] - Use <option>-j1</option> for Binutils
    773                     installation.  Thanks report from Hans Meier.</para>
    774         </listitem>
    775       </itemizedlist>
    776     </listitem>
    777 
    778     <listitem>
    779       <para>2021-03-15</para>
    780       <itemizedlist>
    781         <listitem>
    782           <para>[bdubbs] - Update to vim-8.2.2604. Addreses
    783           <ulink url="&lfs-ticket-root;4500">#4500</ulink>.</para>
    784         </listitem>
    785         <listitem>
    786           <para>[bdubbs] - Update to iana-etc-20210304. Addreses
    787           <ulink url="&lfs-ticket-root;4722">#4722</ulink>.</para>
    788         </listitem>
    789         <listitem>
    790           <para>[bdubbs] - Update to zstd-1.4.9. Fixes
    791           <ulink url="&lfs-ticket-root;4827">#4827</ulink>.</para>
    792         </listitem>
    793         <listitem revision="sysv">
    794           <para>[bdubbs] - Update to sysvinit-2.99. Fixes
    795           <ulink url="&lfs-ticket-root;4822">#4822</ulink>.</para>
    796         </listitem>
    797         <listitem>
    798           <para>[bdubbs] - Update to linux-5.11.6. Fixes
    799           <ulink url="&lfs-ticket-root;4824">#4824</ulink>.</para>
    800         </listitem>
    801         <listitem>
    802           <para>[bdubbs] - Update to libcap-2.49. Fixes
    803           <ulink url="&lfs-ticket-root;4831">#4831</ulink>.</para>
    804         </listitem>
    805         <listitem>
    806           <para>[bdubbs] - Update to iproute2-5.11.0. Fixes
    807           <ulink url="&lfs-ticket-root;4823">#4823</ulink>.</para>
    808         </listitem>
    809         <listitem>
    810           <para>[bdubbs] - Update to e2fsprogs-1.46.2. Fixes
    811           <ulink url="&lfs-ticket-root;4826">#4826</ulink>.</para>
    812         </listitem>
    813         <listitem>
    814           <para>[bdubbs] - Update to bison-3.7.6. Fixes
    815           <ulink url="&lfs-ticket-root;4828">#4828</ulink>.</para>
    816         </listitem>
    817         <listitem>
    818           <para>[bdubbs] - Update to bc-3.3.3. Fixes
    819           <ulink url="&lfs-ticket-root;4825">#4825</ulink>.</para>
    820         </listitem>
    821         <listitem>
    822           <para>[bdubbs] - Update to attr-2.5.0. Fixes
    823           <ulink url="&lfs-ticket-root;4830">#4830</ulink>.</para>
    824         </listitem>
    825         <listitem>
    826           <para>[bdubbs] - Update to acl-2.3.0. Fixes
    827           <ulink url="&lfs-ticket-root;4829">#4829</ulink>.</para>
    828         </listitem>
    829       </itemizedlist>
    830     </listitem>
    831 
    832     <listitem revision="systemd">
    833       <para>2021-03-05</para>
    834       <itemizedlist>
    835         <listitem>
    836           <para>[xry111] - Simplify the installation of systemd man pages.
    837           </para>
    838         </listitem>
    839       </itemizedlist>
    840     </listitem>
    841 
    842     <listitem revision="systemd">
    843       <para>2021-03-04</para>
    844       <itemizedlist>
    845         <listitem>
    846           <para>[renodr] - Patch systemd-247 so that it will function with
    847           Linux-5.11 API headers.</para>
    848         </listitem>
    849       </itemizedlist>
    850     </listitem>
    851 
    852     <listitem>
    853       <para>2021-03-02</para>
    854       <itemizedlist>
    855         <listitem>
    856           <para>[pierre] - Fix a header file for python, so that
    857           <command>#include &lt;python&python-minor;/Python.h&gt;</command>
    858           works.</para>
    859         </listitem>
    860       </itemizedlist>
    861     </listitem>
    862 
    863     <listitem>
    864       <para>2021-03-01</para>
    865       <itemizedlist>
    866         <listitem>
    867           <para>[bdubbs] - LFS-10.1 released.</para>
    868         </listitem>
    869       </itemizedlist>
    870     </listitem>
    871 
    872116  </itemizedlist>
    873117</sect1>
  • chapter01/whatsnew.xml

    rdf1207e rd4c8dce4  
    3131    <para>None</para>
    3232    </listitem>-->
    33     <listitem>
     33    <!--<listitem>
    3434      <para>Acl-&acl-version;</para>
    35     </listitem>
    36     <listitem>
     35    </listitem>-->
     36    <!--<listitem>
    3737      <para>Attr-&attr-version;</para>
    38     </listitem>
     38    </listitem>-->
    3939    <!--<listitem>
    4040      <para>Autoconf-&autoconf-version;</para>
    4141    </listitem>-->
    42     <listitem>
     42   <!--<listitem>
    4343      <para>Automake-&automake-version;</para>
    44     </listitem>
    45     <listitem>
     44    </listitem>-->
     45   <!--<listitem>
    4646      <para>Bash &bash-version;</para>
    47     </listitem>
    48     <listitem>
     47    </listitem>-->
     48   <listitem>
    4949      <para>Bc &bc-version;</para>
    5050    </listitem>
    51     <listitem>
     51   <!--<listitem>
    5252      <para>Binutils-&binutils-version;</para>
    53     </listitem>
    54     <listitem>
     53    </listitem>-->
     54   <listitem>
    5555      <para>Bison-&bison-version;</para>
    5656    </listitem>
     
    6464      <para>Coreutils-&coreutils-version;</para>
    6565    </listitem>-->
    66     <listitem>
     66   <!--<listitem>
    6767      <para>DejaGNU-&dejagnu-version;</para>
    68     </listitem>
     68    </listitem>-->
    6969    <!--<listitem revision="systemd">
    7070      <para>D-Bus-&dbus-version;</para>
    7171    </listitem>-->
    72     <listitem>
     72   <!--<listitem>
    7373      <para>Diffutils-&diffutils-version;</para>
    74     </listitem>
    75     <listitem>
     74    </listitem>-->
     75   <!--<listitem>
    7676       <para>E2fsprogs-&e2fsprogs-version;</para>
    77     </listitem>
     77    </listitem>-->
    7878    <!--<listitem revision="sysv">
    7979       <para>Eudev-&eudev-version;</para>
    8080    </listitem>-->
    81     <listitem>
     81   <!--<listitem>
    8282       <para>Expat-&expat-version;</para>
    83     </listitem>
     83    </listitem>-->
    8484    <!--<listitem>
    8585       <para>Expect-&expect-version;</para>
    8686    </listitem>-->
    87     <listitem>
     87   <!--<listitem>
    8888       <para>File-&file-version;</para>
    89     </listitem>
     89    </listitem>-->
    9090    <!--<listitem>
    9191      <para>Findutils-&findutils-version;</para>
     
    9797      <para>Gawk-&gawk-version;</para>
    9898    </listitem>-->
    99     <listitem>
     99   <!--<listitem>
    100100       <para>GCC-&gcc-version;</para>
    101     </listitem>
    102     <listitem>
     101    </listitem>-->
     102   <listitem>
    103103       <para>GDBM-&gdbm-version;</para>
    104104    </listitem>
     
    106106      <para>Gettext-&gettext-version;</para>
    107107    </listitem>-->
    108     <listitem>
     108   <!--<listitem>
    109109      <para>Glibc-&glibc-version;</para>
    110     </listitem>
     110    </listitem>-->
    111111    <!--<listitem>
    112112      <para>GMP-&gmp-version;</para>
     
    115115      <para>Gperf-&gperf-version;</para>
    116116    </listitem>-->
    117     <listitem>
     117   <!--<listitem>
    118118      <para>Grep-&grep-version;</para>
    119     </listitem>
     119    </listitem>-->
    120120    <!--<listitem>
    121121      <para>Groff-&groff-version;</para>
    122122    </listitem>-->
    123     <listitem>
     123   <!--<listitem>
    124124      <para>GRUB-&grub-version;</para>
    125     </listitem>
    126     <!--<listitem>
     125    </listitem>-->
     126    <listitem>
    127127      <para>Gzip-&gzip-version;</para>
    128     </listitem>-->
    129     <listitem>
     128    </listitem>
     129   <!--<listitem>
    130130      <para>IANA-Etc-&iana-etc-version;</para>
    131     </listitem>
    132     <!--<listitem>
     131    </listitem>-->
     132    <listitem>
    133133      <para>Inetutils-&inetutils-version;</para>
    134     </listitem>-->
     134    </listitem>
    135135    <!--<listitem>
    136136      <para>Intltool-&intltool-version;</para>
    137137    </listitem>-->
    138     <listitem>
     138   <listitem>
    139139      <para>IPRoute2-&iproute2-version;</para>
    140140    </listitem>
     
    145145      <para>Kbd-&kbd-version;</para>
    146146    </listitem>-->
    147     <listitem>
     147   <!--<listitem>
    148148      <para>Kmod-&kmod-version;</para>
    149     </listitem>
    150     <listitem>
     149    </listitem>-->
     150   <!--<listitem>
    151151      <para>Less-&less-version;</para>
    152     </listitem>
     152    </listitem>-->
    153153    <!--<listitem>
    154154      <para>LFS-Bootscripts-&lfs-bootscripts-version;</para>
    155155    </listitem>-->
    156     <listitem>
     156   <listitem>
    157157      <para>Libcap-&libcap-version;</para>
    158158    </listitem>
    159     <listitem>
     159   <!--<listitem>
    160160      <para>Libelf-&elfutils-version; (from elfutils)</para>
    161     </listitem>
    162     <listitem>
     161    </listitem>-->
     162   <!--<listitem>
    163163      <para>Libffi-&libffi-version;</para>
    164     </listitem>
     164    </listitem>-->
    165165    <!--<listitem>
    166166      <para>Libpipeline-&libpipeline-version;</para>
     
    169169      <para>Libtool-&libtool-version;</para>
    170170    </listitem>-->
    171     <listitem>
     171   <listitem>
    172172      <para>Linux-&linux-version;</para>
    173173    </listitem>
    174     <listitem>
     174   <!--<listitem>
    175175      <para>M4-&m4-version;</para>
    176     </listitem>
     176    </listitem>-->
    177177    <!--<listitem>
    178178      <para>Make-&make-version;</para>
     
    181181      <para>Man-DB-&man-db-version;</para>
    182182    </listitem>-->
    183     <listitem>
     183   <!--<listitem>
    184184      <para>Man-pages-&man-pages-version;</para>
    185     </listitem>
     185    </listitem>-->
    186186    <!--<listitem revision="systemd">
    187187      <para>MarkupSafe-&markupsafe-version;</para>
    188188    </listitem>-->
    189     <listitem>
     189   <!--<listitem>
    190190      <para>Meson-&meson-version;</para>
    191     </listitem>
     191    </listitem>-->
    192192    <!--<listitem>
    193193      <para>MPC-&mpc-version;</para>
     
    202202      <para>Ninja-&ninja-version;</para>
    203203    </listitem>-->
    204     <listitem>
     204   <!--<listitem>
    205205      <para>Openssl-&openssl-version;</para>
    206     </listitem>
     206    </listitem>-->
    207207    <!--<listitem>
    208208      <para>Patch-&patch-version;</para>
    209209    </listitem>-->
    210     <listitem>
     210   <!--<listitem>
    211211      <para>Perl-&perl-version;</para>
    212     </listitem>
     212    </listitem>-->
    213213    <!--<listitem>
    214214      <para>Pkg-config-&pkgconfig-version;</para>
     
    229229      <para>Sed-&sed-version;</para>
    230230    </listitem>-->
    231     <listitem>
     231   <!--<listitem>
    232232      <para>Shadow-&shadow-version;</para>
    233     </listitem>
    234     <listitem revision="sysv">
     233    </listitem>-->
     234   <!--<listitem revision="sysv">
    235235      <para>Sysklogd-&sysklogd-version;</para>
    236     </listitem>
    237     <listitem revision="systemd">
     236    </listitem>-->
     237   <!--<listitem revision="systemd">
    238238      <para>Systemd-&systemd-version;</para>
    239     </listitem>
    240     <listitem revision="sysv">
     239    </listitem>-->
     240   <!--<listitem revision="sysv">
    241241      <para>SysVinit-&sysvinit-version;</para>
    242     </listitem>
     242    </listitem>-->
    243243    <!--<listitem>
    244244      <para>Tar-&tar-version;</para>
     
    247247      <para>Tcl-&tcl-version;</para>
    248248    </listitem>-->
    249     <listitem>
     249   <!--<listitem>
    250250      <para>Texinfo-&texinfo-version;</para>
    251     </listitem>
     251    </listitem>-->
    252252    <!--<listitem>
    253253      <para>Tzdata-&tzdata-version;</para>
    254254    </listitem>-->
    255     <listitem>
     255   <!--<listitem>
    256256      <para>Util-Linux-&util-linux-version;</para>
    257     </listitem>
    258     <listitem>
     257    </listitem>-->
     258   <!--<listitem>
    259259      <para>Vim-&vim-version;</para>
    260     </listitem>
     260    </listitem>-->
    261261    <!--<listitem>
    262262      <para>XML-Parser-&xml-parser-version;</para>
     
    268268      <para>Zlib-&zlib-version;</para>
    269269    </listitem>-->
    270     <listitem>
     270   <!--<listitem>
    271271      <para>Zstd-&zstd-version;</para>
    272     </listitem>
     272    </listitem>-->
    273273  </itemizedlist>
    274274
     
    286286    <listitem><para></para></listitem>  <!-- satisfy build -->
    287287    <listitem>
     288      <para>file-5.40-upstream_fixes-1.patch</para>
     289    </listitem>
     290    <!--
     291    <listitem>
    288292      <para>binutils-2.37-upstream_fix-1.patch</para>
    289293    </listitem>
     
    297301      <para>Jinja2-&jinja2-version;</para>
    298302    </listitem>
    299 
     303    -->
    300304  </itemizedlist>
    301305
  • chapter02/aboutlfs.xml

    rdf1207e rd4c8dce4  
    5353  <filename>/root/.bash_profile</filename> file is incorporated as a part of
    5454  the login process.</para>
    55  
     55
    5656  <para>Another consideration is the method that is used to log into the
    5757  host system.  If logging in through a graphical display manager, the
     
    5959  a virtual terminal is started.  In this case, add the export command to
    6060  the <filename>.bashrc</filename> file for the user and
    61   <systemitem class="username">root</systemitem>.  In addition, 
    62   some distributions have instructions to not run the <filename>.bashrc</filename> 
     61  <systemitem class="username">root</systemitem>.  In addition,
     62  some distributions have instructions to not run the <filename>.bashrc</filename>
    6363  instructions in a non-interactive bash invocation.  Be sure to add the
    6464  export command before the test for non-interactive use.</para>
    65  
     65
    6666  </note>
    6767
  • chapter02/creatingfilesystem.xml

    rdf1207e rd4c8dce4  
    1212
    1313  <para>Now that a blank partition has been set up, the file system can be
    14   created.  LFS can use any file system recognized by the Linux kernel, but the 
    15   most common types are ext3 and ext4.  The choice of file system can be 
    16   complex and depends on the characteristics of the files and the size of 
     14  created.  LFS can use any file system recognized by the Linux kernel, but the
     15  most common types are ext3 and ext4.  The choice of file system can be
     16  complex and depends on the characteristics of the files and the size of
    1717  the partition.  For example:</para>
    1818
     
    2727      <term>ext3</term>
    2828      <listitem><para>is an upgrade to ext2 that includes a journal
    29       to help recover the partition's status in the case of an unclean 
     29      to help recover the partition's status in the case of an unclean
    3030      shutdown.  It is commonly used as a general purpose file system.
    3131      </para>
  • chapter02/creatingpartition.xml

    rdf1207e rd4c8dce4  
    3838  or <command>fdisk</command> with a command line option naming the hard
    3939  disk on which the new partition will be created&mdash;for example
    40   <filename class="devicefile">/dev/sda</filename> for the primary 
     40  <filename class="devicefile">/dev/sda</filename> for the primary
    4141  disk drive. Create a Linux native partition and a
    4242  <systemitem class="filesystem">swap</systemitem> partition, if needed. Please
     
    8989
    9090    <para>If you want to use the hibernation feature (suspend-to-disk) of Linux,
    91     it writes out the contents of RAM to the swap partition before turning off 
     91    it writes out the contents of RAM to the swap partition before turning off
    9292    the machine. In this case the size of the swap partition should be at
    9393    least as large as the system's installed RAM.</para>
     
    115115    using <command>gdisk</command>.</para>
    116116
    117     <note><para>The Grub Bios partition must be on the drive that the BIOS 
    118     uses to boot the system.  This is not necessarily the same drive where the 
     117    <note><para>The Grub Bios partition must be on the drive that the BIOS
     118    uses to boot the system.  This is not necessarily the same drive where the
    119119    LFS root partition is located. Disks on a system may use different
    120120    partition table types.  The requirement for this partition depends
  • chapter02/hostreqs.xml

    rdf1207e rd4c8dce4  
    151151
    152152  <!-- Use an empty sect2 element to prevent a pdf warning.  -->
    153   <bridgehead renderas="sect2" 
    154               id="version-check" 
     153  <bridgehead renderas="sect2"
     154              id="version-check"
    155155              xreflabel="Host System Requirements">
    156156  </bridgehead>
     
    178178  echo yacc is `/usr/bin/yacc --version | head -n1`
    179179else
    180   echo "yacc not found" 
     180  echo "yacc not found"
    181181fi
    182182
     
    191191elif [ -x /usr/bin/awk ]; then
    192192  echo awk is `/usr/bin/awk --version | head -n1`
    193 else 
    194   echo "awk not found" 
     193else
     194  echo "awk not found"
    195195fi
    196196
  • chapter02/introduction.xml

    rdf1207e rd4c8dce4  
    1212
    1313  <para>In this chapter, the host tools needed for building LFS
    14   are checked and, if necessary, installed.  Then a partition which will 
    15   host the LFS system is prepared. We will create the partition 
     14  are checked and, if necessary, installed.  Then a partition which will
     15  host the LFS system is prepared. We will create the partition
    1616  itself, create a file system on it, and mount it.</para>
    1717
  • chapter02/mounting.xml

    rdf1207e rd4c8dce4  
    4848  <warning><para>The above instructions assume that you will not be restarting
    4949  your computer throughout the LFS process.  If you shut down your system,
    50   you will either need to remount the LFS partition each time you restart 
    51   the build process or modify your host system's /etc/fstab file to automatically 
     50  you will either need to remount the LFS partition each time you restart
     51  the build process or modify your host system's /etc/fstab file to automatically
    5252  remount it upon boot.  For example:
    5353
  • chapter02/stages.xml

    rdf1207e rd4c8dce4  
    2323    <para>These chapters are accomplished on the host system.  When
    2424    restarting, be careful of the following:</para>
    25  
     25
    2626    <itemizedlist>
    2727      <listitem>
     
    3333    </itemizedlist>
    3434  </sect2>
    35  
     35
    3636  <sect2>
    3737  <title>Chapter&nbsp;5&ndash;6</title>
     
    8686         before or after entering chroot by changing to a host virtual terminal
    8787         and, as <systemitem class="username">root</systemitem>, running the
    88          commands in 
    89          <xref linkend='ch-tools-bindmount'/> and 
     88         commands in
     89         <xref linkend='ch-tools-bindmount'/> and
    9090         <xref linkend='ch-tools-kernfsmount'/>.</para>
    9191      </listitem>
  • chapter03/introduction.xml

    rdf1207e rd4c8dce4  
    5555  <itemizedlist>
    5656    <listitem>
    57       <para>The files can be downloaded individually as described in the 
     57      <para>The files can be downloaded individually as described in the
    5858      next two sections.</para>
    5959    </listitem>
    6060    <listitem>
    61       <para>For stable versions of the book, a tarball of all the needed files 
     61      <para>For stable versions of the book, a tarball of all the needed files
    6262      can be downloaded from one of the LFS files mirrors listed at
    6363      <ulink url="https://www.linuxfromscratch.org/mirrors.html#files"/>.</para>
     
    8484popd</userinput></screen>
    8585
    86   <para>This check can be used after retrieving the needed files with any of the 
     86  <para>This check can be used after retrieving the needed files with any of the
    8787  methods listed above.</para>
    8888
  • chapter03/packages.xml

    rdf1207e rd4c8dce4  
    441441          <para>The Linux kernel is updated relatively often, many times due to
    442442          discoveries of security vulnerabilities.  The latest available
    443           <!--&linux-major-version;.&linux-minor-version;.x--> stable kernel 
     443          <!--&linux-major-version;.&linux-minor-version;.x--> stable kernel
    444444          version <!--should--> may be
    445445          used, unless the errata page says otherwise.</para>
  • chapter03/patches.xml

    rdf1207e rd4c8dce4  
    5858        <para>Download: <ulink url="&patches-root;&coreutils-i18n-patch;"/></para>
    5959        <para>MD5 sum: <literal>&coreutils-i18n-patch-md5;</literal></para>
     60      </listitem>
     61    </varlistentry>
     62
     63    <varlistentry>
     64      <term>File Upstream Fixes Patch - <token>&file-upstream-fixes-patch-size;</token>:</term>
     65      <listitem>
     66        <para>Download: <ulink url="&patches-root;&file-upstream-fixes-patch;"/></para>
     67        <para>MD5 sum: <literal>&file-upstream-fixes-md5;</literal></para>
    6068      </listitem>
    6169    </varlistentry>
  • chapter04/addinguser.xml

    rdf1207e rd4c8dce4  
    1212
    1313  <para>When logged in as user <systemitem class="username">root</systemitem>,
    14   making a single mistake can damage or destroy a system. Therefore, 
     14  making a single mistake can damage or destroy a system. Therefore,
    1515  the packages in the next two chapters are built as an unprivileged user.
    1616  You could use your own user name, but to make it easier to set up a clean
  • chapter04/settingenviron.xml

    rdf1207e rd4c8dce4  
    180180     user, run:</para>
    181181
    182      <screen role="nodump"><userinput>[ ! -e /etc/bash.bashrc ] || mv -v /etc/bash.bashrc /etc/bash.bashrc.NOUSE</userinput></screen> 
     182     <screen role="nodump"><userinput>[ ! -e /etc/bash.bashrc ] || mv -v /etc/bash.bashrc /etc/bash.bashrc.NOUSE</userinput></screen>
    183183
    184184     <para>After use of the <systemitem class="username">lfs</systemitem>
  • chapter05/binutils-pass1.xml

    rdf1207e rd4c8dce4  
    5454    enable.</para>
    5555
    56     <para>The Binutils documentation recommends building Binutils 
     56    <para>The Binutils documentation recommends building Binutils
    5757    in a dedicated build directory:</para>
    5858
  • chapter05/gcc-pass1.xml

    rdf1207e rd4c8dce4  
    7373esac</userinput></screen>
    7474
    75     <para>The GCC documentation recommends building GCC 
     75    <para>The GCC documentation recommends building GCC
    7676    in a dedicated build directory:</para>
    7777
     
    108108        <listitem>
    109109          <para>This option ensures the package will be compatible with the host's
    110           version of glibc.  It is set to the minimum glibc requirement 
     110          version of glibc.  It is set to the minimum glibc requirement
    111111          specified in the <xref linkend="ch-partitioning-hostreqs"/>.</para>
    112112        </listitem>
     
    160160      <varlistentry>
    161161        <term><parameter>--disable-decimal-float, --disable-threads,
    162               --disable-libatomic, --disable-libgomp, 
     162              --disable-libatomic, --disable-libgomp,
    163163        --disable-libquadmath, --disable-libssp, --disable-libvtv,
    164164        --disable-libstdcxx</parameter></term>
  • chapter05/glibc.xml

    rdf1207e rd4c8dce4  
    6363<screen><userinput remap="pre">patch -Np1 -i ../glibc-&glibc-version;-fhs-1.patch</userinput></screen>
    6464
    65     <para>The Glibc documentation recommends building Glibc 
     65    <para>The Glibc documentation recommends building Glibc
    6666    in a dedicated build directory:</para>
    6767
     
    140140    Gettext package which the host distribution should provide.</para>
    141141
    142     <note><para>There have been reports that this package may fail when 
     142    <note><para>There have been reports that this package may fail when
    143143    building as a "parallel make".  If this occurs, rerun the make command
    144144    with a "-j1" option.</para></note>
  • chapter05/libstdc++.xml

    rdf1207e rd4c8dce4  
    2525    <title/>
    2626
    27     <para>Libstdc++ is the standard C++ library. It is needed 
     27    <para>Libstdc++ is the standard C++ library. It is needed
    2828    to compile C++ code
    2929    (part of GCC is written in C++), but we had to defer its installation
  • chapter05/linux-headers.xml

    rdf1207e rd4c8dce4  
    7676        <seg>/usr/include/asm/*.h, /usr/include/asm-generic/*.h,
    7777        /usr/include/drm/*.h, /usr/include/linux/*.h, /usr/include/misc/*.h,
    78         /usr/include/mtd/*.h, /usr/include/rdma/*.h, /usr/include/scsi/*.h, 
    79         /usr/include/sound/*.h, /usr/include/video/*.h, 
     78        /usr/include/mtd/*.h, /usr/include/rdma/*.h, /usr/include/scsi/*.h,
     79        /usr/include/sound/*.h, /usr/include/video/*.h,
    8080        and /usr/include/xen/*.h</seg>
    8181        <seg>/usr/include/asm, /usr/include/asm-generic, /usr/include/drm,
    82         /usr/include/linux, /usr/include/misc, /usr/include/mtd, 
    83         /usr/include/rdma, /usr/include/scsi, /usr/include/sound, 
     82        /usr/include/linux, /usr/include/misc, /usr/include/mtd,
     83        /usr/include/rdma, /usr/include/scsi, /usr/include/sound,
    8484        /usr/include/video, and /usr/include/xen</seg>
    8585      </seglistitem>
  • chapter06/coreutils.xml

    rdf1207e rd4c8dce4  
    8484    programs harcode executable locations:</para>
    8585
    86 <screen><userinput remap="install">mv -v $LFS/usr/bin/chroot                                     $LFS/usr/sbin
     86<screen><userinput remap="install">mv -v $LFS/usr/bin/chroot              $LFS/usr/sbin
    8787mkdir -pv $LFS/usr/share/man/man8
    88 mv -v $LFS/usr/share/man/man1/chroot.1                        $LFS/usr/share/man/man8/chroot.8
    89 sed -i 's/"1"/"8"/'                                           $LFS/usr/share/man/man8/chroot.8</userinput></screen>
     88mv -v $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8
     89sed -i 's/"1"/"8"/'                    $LFS/usr/share/man/man8/chroot.8</userinput></screen>
    9090
    9191  </sect2>
  • chapter06/file.xml

    rdf1207e rd4c8dce4  
    4545
    4646    <para>
    47        The <command>file</command> command on the build host needs 
    48        to be same version as the one we are building in order to 
     47       The <command>file</command> command on the build host needs
     48       to be same version as the one we are building in order to
    4949       create the signature file. Run the following commands to build it:
    5050    </para>
  • chapter06/introduction.xml

    rdf1207e rd4c8dce4  
    1919  <para>Using the utilities will be possible in next chapter after entering
    2020  the <quote>chroot</quote> environment. But all the packages built in the
    21   present chapter need to be built before we do that. Therefore we cannot be 
     21  present chapter need to be built before we do that. Therefore we cannot be
    2222  independent of the host system yet.</para>
    2323
  • chapter07/chapter07.xml

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    1010
    1111  <title>Cleaning up and Saving the Temporary System</title>
    12  
     12
    1313  <sect2>
    1414    <title>Cleaning</title>
     
    2121    <para>Second, the libtool .la files are only useful when linking with static
    2222    libraries. They are unneeded and potentially harmful when using dynamic
    23     shared libraries, specially when using non-autotools build systems.
     23    shared libraries, especially when using non-autotools build systems.
    2424    While still in chroot, remove those files now:</para>
    2525
     
    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:
     
    3838    <title>Backup</title>
    3939
     40    <para>
     41      At this point the essential programs and libraries have been created
     42      and your current LFS system is in a good state. Your system can now be
     43      backed up for later reuse. In case of fatal failures in the subsequent
     44      chapters, it often turns out that removing everything and starting over
     45      (more carefully) is the best option to recover. Unfortunately, all the
     46      temporary files will be removed, too. To avoid spending extra time to
     47      redo something which has been built successfully, creating a backup of
     48      the current LFS system may prove useful.
     49    </para>
     50
    4051    <note><para>
    4152      All the remaining steps in this section are optional. Nevertheless,
     
    4354      linkend="chapter-building-system"/>, the temporary files will be
    4455      overwritten. So it may be a good idea to do a backup of the current
    45       system as described below. 
     56      system as described below.
    4657    </para></note>
    47  
     58
    4859    <para>
    4960      The following steps are performed from outside the chroot
     
    5768    </para>
    5869
     70    <para>
     71       If you have decided to make a backup, leave the chroot environment:
     72    </para>
     73
     74<screen role="nodump"><userinput>exit</userinput></screen>
     75
    5976    <important>
    60       <para>All of the following instructions are executed by
    61         <systemitem class="username">root</systemitem>. Take extra
    62         care about the commands you're going to run as mistakes
     77      <para>
     78        All of the following instructions are executed by
     79        <systemitem class="username">root</systemitem> on your host system.
     80        Take extra care about the commands you're going to run as mistakes
    6381        here can modify your host system. Be aware that the
    64         environment variable <envar>LFS</envar>
    65         is set for user <systemitem class="username">lfs</systemitem> by default
    66         but may <emphasis>not</emphasis> be set for
    67         <systemitem class="username">root</systemitem>. Whenever
    68         commands are to be executed by <systemitem class="username">root</systemitem>,
     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
     85        <systemitem class="username">root</systemitem>.
     86     </para>
     87     <para>
     88        Whenever commands are to be executed by <systemitem class="username">root</systemitem>,
    6989        make sure you have set <envar>LFS</envar>.
     90     </para>
     91     <para>
    7092        This has been discussed in <xref linkend='ch-partitioning-aboutlfs'/>.
    7193      </para>
    7294    </important>
    7395
    74     <para>
    75        Now, if you are making a backup, leave the chroot environment:
    76     </para>
     96    <para>Before making a backup, unmount the virtual file systems:</para>
    7797
    78 <screen role="nodump"><userinput>exit</userinput></screen>
     98<screen role="nodump"><userinput>umount $LFS/dev/pts
     99umount $LFS/{sys,proc,run,dev}</userinput></screen>
    79100
    80101    <para>
    81       At this point the essential programs and libraries have been created
    82       and your current system is in a good state. Your system can now be
    83       backed up for later reuse. In case of fatal failures in the subsequent
    84       chapters, it often turns out that removing everything and starting over
    85       (more carefully) is the best option to recover. Unfortunately, all the
    86       temporary files will be removed, too. To avoid spending extra time to
    87       redo something which has been built successfully, prepare a backup.
     102      Make sure you have at least 1 GB free disk space (the source tarballs
     103      will be included in the backup archive) on the filesystem containing
     104      directory where you create the backup archive.
    88105    </para>
    89106
    90107    <para>
    91       Make sure you have at least 1 GB free disk space (the source tarballs
    92       will be included in the backup archive) in the home directory of user
    93       <systemitem class="username">root</systemitem>.
     108      Note that the instructions below specify the home directory of the host
     109      system's <systemitem class="username">root</systemitem> user, which is
     110      typically found on the root filesystem.
    94111    </para>
    95112
    96     <para>Before we make a backup, unmount the virtual file systems:</para>
    97 
    98 <screen role="nodump"><userinput>umount $LFS/dev{/pts,}
    99 umount $LFS/{sys,proc,run}</userinput></screen>
     113    <para>
     114      Replace <envar>$HOME</envar> by a directory of your choice if you
     115      do not want to have the backup stored in <systemitem
     116      class="username">root</systemitem>'s home directory.
     117    </para>
    100118
    101119    <para>
     
    108126          long time (over 10 minutes) even on a resonably fast system.
    109127       </para>
    110        
    111        <para>
    112           Also, ensure the <envar>LFS</envar> environment variable is set
    113           for the root user.
    114        </para>
    115128    </note>
    116129
     
    118131tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz .</userinput></screen>
    119132
    120     <para>
    121       Replace <envar>$HOME</envar> by a directory of your choice if you
    122       do not want to have the backup stored in <systemitem
    123       class="username">root</systemitem>'s home directory.
    124     </para>
    125133  </sect2>
    126134
     
    131139      In case some mistakes have been made and you need to start over, you can
    132140      use this backup to restore the system and save some recovery time.
    133       Since the sources are located under 
     141      Since the sources are located under
    134142      <filename class="directory">$LFS</filename>, they are included in the
    135143      backup archive as well, so they do not need to be downloaded again. After
     
    142150
    143151    <warning><para>The following commands are extremly dangerous.  If
    144     you run <command>rm -rf ./*</command> as the root user and you 
    145     do not change to the $LFS directory or the <envar>LFS</envar> 
    146     environment variable is not set for the root user, it will destroy 
     152    you run <command>rm -rf ./*</command> as the root user and you
     153    do not change to the $LFS directory or the <envar>LFS</envar>
     154    environment variable is not set for the root user, it will destroy
    147155    your entire host system.  YOU ARE WARNED.</para></warning>
    148156
     
    166174       </para>
    167175    </important>
    168    
     176
    169177  </sect2>
    170178
  • chapter07/introduction.xml

    rdf1207e rd4c8dce4  
    1212
    1313  <para>This chapter shows how to build the last missing bits of the temporary
    14   system: the tools needed by the build machinery of various packages.
    15   Now that all circular dependencies
    16   have been resolved, we can use a <quote>chroot</quote> environment,
    17   completely isolated the host operating system used for the build, except
    18   for the running kernel.</para>
     14  system: the tools needed by the build machinery of various packages.  Now
     15  that all circular dependencies have been resolved, a <quote>chroot</quote>
     16  environment, completely isolated from the host operating system (except for
     17  the running kernel), can be used for the build.</para>
    1918
    2019  <para>For proper operation of the isolated environment, some communication
  • chapter07/kernfs.xml

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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/file.xml

    rdf1207e rd4c8dce4  
    4141  <sect2 role="installation">
    4242    <title>Installation of File</title>
     43
     44    <para>First, fix a few regressions in File:</para>
     45
     46<screen><userinput remap="pre">patch -Np1 -i ../file-&file-version;-upstream_fixes-1.patch</userinput></screen>
    4347
    4448    <para>Prepare File for compilation:</para>
  • chapter08/gcc.xml

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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/pkgmgt.xml

    rdf1207e rd4c8dce4  
    112112      library):</para>
    113113
    114 <screen><userinput role="nodump">grep -l  -e '<replaceable>libfoo</replaceable>.*deleted' /proc/*/maps |
     114<screen role="nodump"><userinput>grep -l  -e '<replaceable>libfoo</replaceable>.*deleted' /proc/*/maps |
    115115   tr -cd 0-9\\n | xargs -r ps u</userinput></screen>
    116116
  • chapter08/procps.xml

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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
     
    141141<screen><userinput remap="install">ln -sfv tclsh&tcl-major-version; /usr/bin/tclsh</userinput></screen>
    142142
    143     <para>Finally, rename a man page that conflicts with a Perl man page:</para>
     143    <para>Rename a man page that conflicts with a Perl man page:</para>
    144144
    145145    <screen><userinput remap="install">mv /usr/share/man/man3/{Thread,Tcl_Thread}.3</userinput></screen>
     146
     147    <para>If you downloaded the optional documentation, install it by issuing
     148    the following commands:</para>
     149
     150 <screen><userinput remap="install">mkdir -v -p /usr/share/doc/tcl-&tcl-version;
     151cp -v -r  ../html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
    146152
    147153  </sect2>
     
    156162      <seglistitem>
    157163        <seg>
    158           tclsh (link to tclsh&tcl-major-version;) and 
     164          tclsh (link to tclsh&tcl-major-version;) and
    159165          tclsh&tcl-major-version;
    160166        </seg>
    161167        <seg>
    162           libtcl&tcl-major-version;.so and 
     168          libtcl&tcl-major-version;.so and
    163169          libtclstub&tcl-major-version;.a
    164170        </seg>
  • chapter08/texinfo.xml

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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

    rdf1207e rd4c8dce4  
    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
  • general.ent

    rdf1207e rd4c8dce4  
    6666<!ENTITY before          "Must be installed before">
    6767<!ENTITY external        "Optional dependencies">
    68                          
     68
    6969<!ENTITY gnu             "https://ftp.gnu.org/gnu/">
    7070<!ENTITY gnu-software    "https://www.gnu.org/software/">
  • lfs-latest-git.php

    rdf1207e rd4c8dce4  
    3131  foreach ( $lines as $line )
    3232  {
    33      if ( ! preg_match( $regex_match, $line ) ) continue; 
     33     if ( ! preg_match( $regex_match, $line ) ) continue;
    3434
    3535     // Isolate the version and put in an array
    3636     $slice = preg_replace( $regex_replace, "$1", $line );
    37      if ( $slice == $line ) continue; 
    38 
    39      array_push( $a, $slice );     
     37     if ( $slice == $line ) continue;
     38
     39     array_push( $a, $slice );
    4040  }
    4141
     
    9999  $max           = find_max( $lines, $regex_match, $regex_replace );
    100100
    101   return "$dirpath/$max"; 
     101  return "$dirpath/$max";
    102102}
    103103
     
    113113if ( $package == "e2fsprogs"  ) $dirpath = "https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/";
    114114if ( $package == "expat"      ) $dirpath = "http://sourceforge.net/projects/expat/files";
    115 if ( $package == "elfutils"   ) $dirpath = "https://sourceware.org/ftp/elfutils"; 
    116 if ( $package == "expect"     ) $dirpath = "http://sourceforge.net/projects/expect/files"; 
     115if ( $package == "elfutils"   ) $dirpath = "https://sourceware.org/ftp/elfutils";
     116if ( $package == "expect"     ) $dirpath = "http://sourceforge.net/projects/expect/files";
    117117if ( $package == "file"       ) $dirpath = "https://github.com/file/file/releases";
    118118if ( $package == "flex"       ) $dirpath = "https://github.com/westes/flex/releases";
     
    139139
    140140  // Check for ftp
    141   if ( preg_match( "/^ftp/", $dirpath ) ) 
    142   { 
     141  if ( preg_match( "/^ftp/", $dirpath ) )
     142  {
    143143    $dirpath  = substr( $dirpath, 6 );           // Remove ftp://
    144144    $dirpath  = rtrim ( $dirpath, "/" );         // Trim any trailing slash
     
    148148
    149149    $conn = ftp_connect( $server );
    150     ftp_login( $conn, "anonymous", "" ); 
     150    ftp_login( $conn, "anonymous", "" );
    151151
    152152    // See if we need special handling
     
    167167
    168168              // Get dir listing
    169               $lines = ftp_rawlist ($conn, $path);             
     169              $lines = ftp_rawlist ($conn, $path);
    170170              $max   = find_max( $lines, $regexp, $regexp );
    171171              break;
     
    234234  }
    235235
    236   if ( $package == "attr" || 
     236  if ( $package == "attr" ||
    237237       $package == "acl"  )
    238238  {
     
    362362      }
    363363
    364       else if ( preg_match( "/systemd-man-pages/", $file ) ) continue; 
    365       else if ( preg_match( "/python/"         , $file ) ) continue; 
     364      else if ( preg_match( "/systemd-man-pages/", $file ) ) continue;
     365      else if ( preg_match( "/python/"         , $file ) ) continue;
    366366
    367367      $version = preg_replace( $pattern, "$1", $file );   // Isolate version
  • lfs-latest.php

    rdf1207e rd4c8dce4  
    3131  foreach ( $lines as $line )
    3232  {
    33      if ( ! preg_match( $regex_match, $line ) ) continue; 
     33     if ( ! preg_match( $regex_match, $line ) ) continue;
    3434
    3535     // Isolate the version and put in an array
    3636     $slice = preg_replace( $regex_replace, "$1", $line );
    37      if ( $slice == $line ) continue; 
    38 
    39      array_push( $a, $slice );     
     37     if ( $slice == $line ) continue;
     38
     39     array_push( $a, $slice );
    4040  }
    4141
     
    9999  $max           = find_max( $lines, $regex_match, $regex_replace );
    100100
    101   return "$dirpath/$max"; 
     101  return "$dirpath/$max";
    102102}
    103103
     
    113113if ( $package == "e2fsprogs"  ) $dirpath = "http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs";
    114114if ( $package == "expat"      ) $dirpath = "http://sourceforge.net/projects/expat/files";
    115 if ( $package == "elfutils"   ) $dirpath = "https://sourceware.org/ftp/elfutils"; 
    116 if ( $package == "expect"     ) $dirpath = "http://sourceforge.net/projects/expect/files"; 
     115if ( $package == "elfutils"   ) $dirpath = "https://sourceware.org/ftp/elfutils";
     116if ( $package == "expect"     ) $dirpath = "http://sourceforge.net/projects/expect/files";
    117117if ( $package == "file"       ) $dirpath = "https://github.com/file/file/releases";
    118118if ( $package == "flex"       ) $dirpath = "https://github.com/westes/flex/releases";
     
    136136
    137137  // Check for ftp
    138   if ( preg_match( "/^ftp/", $dirpath ) ) 
    139   { 
     138  if ( preg_match( "/^ftp/", $dirpath ) )
     139  {
    140140    $dirpath  = substr( $dirpath, 6 );           // Remove ftp://
    141141    $dirpath  = rtrim ( $dirpath, "/" );         // Trim any trailing slash
     
    145145
    146146    $conn = ftp_connect( $server );
    147     ftp_login( $conn, "anonymous", "" ); 
     147    ftp_login( $conn, "anonymous", "" );
    148148
    149149    // See if we need special handling
     
    164164
    165165              // Get dir listing
    166               $lines = ftp_rawlist ($conn, $path);             
     166              $lines = ftp_rawlist ($conn, $path);
    167167              $max   = find_max( $lines, $regexp, $regexp );
    168168              break;
     
    197197     }
    198198
    199      //if ( $package == "bzip2" ) 
     199     //if ( $package == "bzip2" )
    200200     //{
    201201     //   // Remove one directory
     
    239239  }
    240240
    241   if ( $package == "attr" || 
     241  if ( $package == "attr" ||
    242242       $package == "acl"  )
    243243  {
     
    357357      }
    358358
    359       else if ( preg_match( "/systemd-man-pages/", $file ) ) continue; 
    360       else if ( preg_match( "/python/"         , $file ) ) continue; 
     359      else if ( preg_match( "/systemd-man-pages/", $file ) ) continue;
     360      else if ( preg_match( "/python/"         , $file ) ) continue;
    361361
    362362      $version = preg_replace( $pattern, "$1", $file );   // Isolate version
  • make-aux-files.sh

    rdf1207e rd4c8dce4  
    99# Create the tarball and clean up
    1010tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version
    11 mv lfs-bootscripts-$version bootscripts 
     11mv lfs-bootscripts-$version bootscripts
    1212
    1313#rm -f udev-config*.bz2
  • packages.ent

    rdf1207e rd4c8dce4  
    66     Allowed deviation in SBUs : 10%
    77     Allowed deviation in disk usage : 2%
    8      
     8
    99     Suffixes:
    1010     *-tmp-*     Package info for Temporary Tools
     
    5959<!ENTITY bash-fin-sbu "1.6 SBU">
    6060
    61 <!ENTITY bc-version "5.0.0">
     61<!ENTITY bc-version "5.0.2">
    6262<!ENTITY bc-size "420 KB">
    6363<!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz">
    64 <!ENTITY bc-md5 "8345bb81c576ddfc8c27e0842370603c">
     64<!ENTITY bc-md5 "3b521d29aa4af4c4d5e96f7c3db3c607">
    6565<!ENTITY bc-home "https://git.yzena.com/gavin/bc">
    6666<!ENTITY bc-fin-du "6.7 MB">
     
    7979<!ENTITY binutils-fin-sbu "6.3 SBU">
    8080
    81 <!ENTITY bison-version "3.7.6">
    82 <!ENTITY bison-size "2,566 KB">
     81<!ENTITY bison-version "3.8.1">
     82<!ENTITY bison-size "2,735 KB">
    8383<!ENTITY bison-url "&gnu;bison/bison-&bison-version;.tar.xz">
    84 <!ENTITY bison-md5 "d61aa92e3562cb7292b004ce96173cf7">
     84<!ENTITY bison-md5 "0ea56629a7136cc097668dba808afe3a">
    8585<!ENTITY bison-home "&gnu-software;bison/">
    8686<!ENTITY bison-tmp-du "50 MB">
     
    264264<!ENTITY libstdcpp-tmpp2-sbu "0.8 SBU">
    265265
    266 <!ENTITY gdbm-version "1.20">
    267 <!ENTITY gdbm-size "965 KB">
     266<!ENTITY gdbm-version "1.21">
     267<!ENTITY gdbm-size "983 KB">
    268268<!ENTITY gdbm-url "&gnu;gdbm/gdbm-&gdbm-version;.tar.gz">
    269 <!ENTITY gdbm-md5 "006c19b8b60828fd6916a16f3496bd3c">
     269<!ENTITY gdbm-md5 "a285c6e2dfed78668664c0555a7d202b">
    270270<!ENTITY gdbm-home "&gnu-software;gdbm/">
    271271<!ENTITY gdbm-fin-du "11 MB">
     
    335335<!ENTITY grub-fin-sbu "0.8 SBU">
    336336
    337 <!ENTITY gzip-version "1.10">
    338 <!ENTITY gzip-size "757 KB">
     337<!ENTITY gzip-version "1.11">
     338<!ENTITY gzip-size "786 KB">
    339339<!ENTITY gzip-url "&gnu;gzip/gzip-&gzip-version;.tar.xz">
    340 <!ENTITY gzip-md5 "691b1221694c3394f1c537df4eee39d3">
     340<!ENTITY gzip-md5 "d1e93996dba00cab0caa7903cd01d454">
    341341<!ENTITY gzip-home "&gnu-software;gzip/">
    342342<!ENTITY gzip-tmp-du "10 MB">
     
    353353<!ENTITY iana-etc-fin-sbu "less than 0.1 SBU">
    354354
    355 <!ENTITY inetutils-version "2.1">
    356 <!ENTITY inetutils-size "1,496 KB">
     355<!ENTITY inetutils-version "2.2">
     356<!ENTITY inetutils-size "1,494 KB">
    357357<!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz">
    358 <!ENTITY inetutils-md5 "4e7676d1980e57c7df665e5c5c3c1047">
     358<!ENTITY inetutils-md5 "de8c1b49cbde2b30e481c61c65357ad4">
    359359<!ENTITY inetutils-sha256 "01b9a4bc73a47e63f6e8a07b76122d9ad2a2e46ebf14870e9c91d660b5647a22">
    360360<!ENTITY inetutils-home "&gnu-software;inetutils/">
     
    370370<!ENTITY intltool-fin-sbu "less than 0.1 SBU">
    371371
    372 <!ENTITY iproute2-version "5.13.0">
    373 <!ENTITY iproute2-size "828 KB">
     372<!ENTITY iproute2-version "5.14.0">
     373<!ENTITY iproute2-size "834 KB">
    374374<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
    375 <!ENTITY iproute2-md5 "15fc3786303a173a14e180afe4cd2ecd">
     375<!ENTITY iproute2-md5 "da53966eb3b08ac264f3e9df02e06bfa">
    376376<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
    377377<!ENTITY iproute2-fin-du "15 MB">
     
    428428<![ %sysv; [
    429429<!ENTITY lfs-bootscripts-version "20210608">      <!-- Scripts depend on this format -->
    430 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">       
     430<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">
    431431<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
    432 <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM"> 
     432<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">
    433433<!ENTITY lfs-bootscripts-home " ">
    434 <!ENTITY lfs-bootscripts-cfg-du "BOOTSCRIPTS-INSTALL-KB KB"> 
     434<!ENTITY lfs-bootscripts-cfg-du "BOOTSCRIPTS-INSTALL-KB KB">
    435435<!ENTITY lfs-bootscripts-cfg-sbu "less than 0.1 SBU">
    436436]]>
     
    446446]]>
    447447
    448 <!ENTITY libcap-version "2.53">
    449 <!ENTITY libcap-size "153 KB">
     448<!ENTITY libcap-version "2.57">
     449<!ENTITY libcap-size "164 KB">
    450450<!ENTITY libcap-url "&kernel;linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz">
    451 <!ENTITY libcap-md5 "094994d4554c6689cf98ae4f717b8e19">
     451<!ENTITY libcap-md5 "e84ce311ec412cbe8340ea8ea31525d9">
    452452<!ENTITY libcap-home "https://sites.google.com/site/fullycapable/">
    453453<!ENTITY libcap-fin-du "3.2 MB">
     
    479479
    480480<!ENTITY linux-major-version "5">
    481 <!ENTITY linux-minor-version "13">
    482 <!ENTITY linux-patch-version "12">
     481<!ENTITY linux-minor-version "14">
     482<!ENTITY linux-patch-version "3">
    483483<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    484484<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    485 <!ENTITY linux-size "116,545 KB">
     485<!ENTITY linux-size "117,839 KB">
    486486<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    487 <!ENTITY linux-md5 "6e1728b2021ca19cc9273f080e6c44c7">
     487<!ENTITY linux-md5 "b45b18effd1af9077de47f4bc496d2ab">
    488488<!ENTITY linux-home "https://www.kernel.org/">
    489489<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
     
    653653<!ENTITY psmisc-fin-sbu "less than 0.1 SBU">
    654654
    655 <!-- If python minor version changes, updates in python and 
     655<!-- If python minor version changes, updates in python and
    656656     meson pages will be needed: python3.6 and python3.6m -->
    657657
    658 <!ENTITY python-version "3.9.6">
     658<!ENTITY python-version "3.9.7">
    659659<!ENTITY python-minor "3.9">
    660 <!ENTITY python-size "18,608 KB">
     660<!ENTITY python-size "18,676 KB">
    661661<!ENTITY python-url "https://www.python.org/ftp/python/&python-version;/Python-&python-version;.tar.xz">
    662 <!ENTITY python-md5 "ecc29a7688f86e550d29dba2ee66cf80">
     662<!ENTITY python-md5 "fddb060b483bc01850a3f412eea1d954">
    663663<!ENTITY python-home "https://www.python.org/">
    664664<!ENTITY python-tmp-du "347 MB">
     
    667667<!ENTITY python-fin-sbu "4.4 SBU">
    668668<!ENTITY python-docs-url "https://www.python.org/ftp/python/doc/&python-version;/python-&python-version;-docs-html.tar.bz2">
    669 <!ENTITY python-docs-md5 "0dae29e4c38af1b6b1a86b35c9e48923">
    670 <!ENTITY python-docs-size "6,692 KB">
     669<!ENTITY python-docs-md5 "ef3ea6141ed362e4d12467b136ee70fe">
     670<!ENTITY python-docs-size "6,791 KB">
    671671
    672672<!ENTITY readline-version "8.1">
     
    692692<!ENTITY shadow-url "&github;/shadow-maint/shadow/releases/download/v&shadow-version;/shadow-&shadow-version;.tar.xz">
    693693<!ENTITY shadow-md5 "126924090caf72f3de7e9261fd4e10ac">
    694 <!ENTITY shadow-home "https://shadow-maint.github.io/shadow/"> 
     694<!ENTITY shadow-home "https://shadow-maint.github.io/shadow/">
    695695<!ENTITY shadow-fin-du "45 MB">
    696696<!ENTITY shadow-fin-sbu "0.2 SBU">
  • part3intro/generalinstructions.xml

    rdf1207e rd4c8dce4  
    9696              <para>Using the <command>tar</command> program, extract the package
    9797              to be built.  In <xref linkend="chapter-cross-tools"/> and
    98               <xref linkend="chapter-temporary-tools"/>, ensure you are 
     98              <xref linkend="chapter-temporary-tools"/>, ensure you are
    9999              the <emphasis>lfs</emphasis> user when extracting the package.</para>
    100100            </listitem>
  • part3intro/toolchaintechnotes.xml

    rdf1207e rd4c8dce4  
    212212    just a compiler, but also defines a standard library. In this book, the
    213213    GNU C library, named glibc, is used. This library must
    214     be compiled for the lfs machine, that is, using the cross compiler cc1. 
     214    be compiled for the lfs machine, that is, using the cross compiler cc1.
    215215    But the compiler itself uses an internal library implementing complex
    216216    instructions not available in the assembler instruction set. This
     
    330330    libstdc++. Then temporary installations of programs needed for the proper
    331331    operation of the toolchain are performed. From this point onwards, the
    332     core toolchain is self-contained and self-hosted.  In
     332    core toolchain is self-contained and self-hosted. In
    333333    <xref linkend="chapter-building-system"/>, final versions of all the
    334334    packages needed for a fully functional system are built, tested and
  • patches.ent

    rdf1207e rd4c8dce4  
    3030<!ENTITY flex-fixes-patch-size "3.4 KB">
    3131-->
     32
     33<!ENTITY file-upstream-fixes-patch "file-&file-version;-upstream_fixes-1.patch">
     34<!ENTITY file-upstream-fixes-md5 "d99090db596b9db2bed869662199a56a">
     35<!ENTITY file-upstream-fixes-patch-size "4.0 KB">
    3236
    3337<!ENTITY gcc-upstream-fixes-patch "gcc-&gcc-version;-upstream_fixes-1.patch">
  • pdf-fixups.sh

    rdf1207e rd4c8dce4  
    11#!/bin/bash
    22
    3 if [ $# -lt 1 ] ; then 
     3if [ $# -lt 1 ] ; then
    44  echo "This script needs the location of the fo file to update"
    55  exit 1
  • process-scripts.sh

    rdf1207e rd4c8dce4  
    99do
    1010  script=$(basename $s)
    11  
     11
    1212  # Skip directories
    1313  [ $script == 'network-devices' ] && continue
     
    1515
    1616  # Disambiguate duplicate file names
    17   [ $s == 'bootscripts/lfs/sysconfig/rc'         ] && script='rc-sysinit'; 
    18   [ $s == 'bootscripts/lfs/sysconfig/modules'    ] && script='modules-sysinit'; 
    19   [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry'; 
    20  
     17  [ $s == 'bootscripts/lfs/sysconfig/rc'         ] && script='rc-sysinit';
     18  [ $s == 'bootscripts/lfs/sysconfig/modules'    ] && script='modules-sysinit';
     19  [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry';
     20
    2121  sed  -e 's/\&/\&amp\;/g' -e 's/</\&lt\;/g'   -e 's/>/\&gt\;/g' \
    2222       -e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/    /g'  \
    23        $s > appendices/${script}.script 
     23       $s > appendices/${script}.script
    2424done
  • prologue/foreword.xml

    rdf1207e rd4c8dce4  
    1111  <title>Foreword</title>
    1212
    13 <para>My journey to learn and better understand Linux began 
     13<para>My journey to learn and better understand Linux began
    1414back in 1998. I had just installed my first Linux distribution and had
    1515quickly become intrigued with the whole concept and philosophy behind
  • prologue/organization.xml

    rdf1207e rd4c8dce4  
    5252
    5353    <para>Part V provides information about the book itself including
    54     acronyms and terms, acknowledgments, package dependencies, 
    55     a listing of LFS boot scripts, licenses for the distribution of the 
    56     book, and a comprehensive index of packages, programs, libraries, 
     54    acronyms and terms, acknowledgments, package dependencies,
     55    a listing of LFS boot scripts, licenses for the distribution of the
     56    book, and a comprehensive index of packages, programs, libraries,
    5757    and scripts.</para>
    5858  </sect2>
  • prologue/standards.xml

    rdf1207e rd4c8dce4  
    2323      </listitem>
    2424      <listitem>
    25         <para><ulink 
     25        <para><ulink
    2626        url="http://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html">
    2727        Filesystem Hierarchy Standard (FHS) Version 3.0</ulink></para>
  • prologue/why.xml

    rdf1207e rd4c8dce4  
    2424        <para>Acl</para>
    2525
    26         <para>This package contains utilities to administer Access 
    27         Control Lists, which are used to define more fine-grained 
    28         discretionary access rights for files and directories. 
     26        <para>This package contains utilities to administer Access
     27        Control Lists, which are used to define more fine-grained
     28        discretionary access rights for files and directories.
    2929        </para>
    3030      </listitem>
     
    3333        <para>Attr</para>
    3434
    35         <para>This package contains programs for administering 
    36         extended attributes on filesystem objects. 
     35        <para>This package contains programs for administering
     36        extended attributes on filesystem objects.
    3737        </para>
    3838      </listitem>
     
    6767        <para>Bc</para>
    6868
    69         <para>This package provides an arbitrary precision numeric processing language. 
     69        <para>This package provides an arbitrary precision numeric processing language.
    7070        It satisfies a requirement needed when building the Linux kernel.</para>
    7171      </listitem>
     
    111111        <para>D-Bus</para>
    112112
    113         <para>This package contains programs to implement a message bus system, 
     113        <para>This package contains programs to implement a message bus system,
    114114        which a simple way for applications to talk to one another.
    115115        </para>
     
    142142
    143143        <para>This package is a device manager.  It dynamically controls the ownership,
    144         permissions, names, and symbolic links of devices in the /dev directory as 
     144        permissions, names, and symbolic links of devices in the /dev directory as
    145145        devices are added or removed from the system.
    146146        </para>
     
    283283        <para>Intltool</para>
    284284
    285         <para>This package contains tools for extracting translatable 
     285        <para>This package contains tools for extracting translatable
    286286        strings from source files.</para>
    287287      </listitem>
     
    327327        <para>Libcap</para>
    328328
    329         <para>This package implements the user-space interfaces to 
    330         the POSIX 1003.1e capabilities available in Linux kernels. 
     329        <para>This package implements the user-space interfaces to
     330        the POSIX 1003.1e capabilities available in Linux kernels.
    331331        </para>
    332332      </listitem>
     
    627627
    628628        <para>This package contains compression and decompression routines
    629         used by some programs. It provide high compression ratios and a very
     629        used by some programs. It provides high compression ratios and a very
    630630        wide range of compression / speed trade-offs.</para>
    631631      </listitem>
  • stylesheets/lfs-xsl/pdf/lfs-mixed.xsl

    rdf1207e rd4c8dce4  
    104104            <xsl:choose>
    105105              <xsl:when test="ancestor::appendix">auto</xsl:when>
    106               <!-- Modified by Bruce Dubbs.  Allow user to specify 
     106              <!-- Modified by Bruce Dubbs.  Allow user to specify
    107107              automatic screen formatting to split across pages. -->
    108108              <xsl:when test="@role='auto'">auto</xsl:when>
     
    115115      </xsl:attribute>
    116116
    117 <!-- The following lines were inserted by Martin Miehe. Scripts and rules 
    118      in the appendices should have a smaller font-size so that at least 
     117<!-- The following lines were inserted by Martin Miehe. Scripts and rules
     118     in the appendices should have a smaller font-size so that at least
    119119     80 characters fit to one line. -->
    120120
  • stylesheets/md5sum.xsl

    rdf1207e rd4c8dce4  
    1616      name, the next test must be fixed to match it also. Skip possible
    1717      duplicated URLs that may be split for PDF output -->
    18     <xsl:if test="(contains( @url, '.tar.' ) or 
    19                    contains( @url, '.tgz'  ) or 
     18    <xsl:if test="(contains( @url, '.tar.' ) or
     19                   contains( @url, '.tgz'  ) or
    2020                   contains( @url, '.patch') ) and
    2121                   not( ancestor-or-self::*/@condition = 'pdf' )" >
     
    3333      <!-- Add a newline -->
    3434      <xsl:text>&#x0a;</xsl:text>
    35    
     35
    3636    </xsl:if>
    3737  </xsl:template>
     
    3939  <xsl:template name="basename">
    4040    <xsl:param name="pathname"/>
    41    
     41
    4242    <xsl:choose>
    4343
  • stylesheets/wget-list.xsl

    rdf1207e rd4c8dce4  
    1717      name, the next test must be fixed to match it also. Skip possible
    1818      duplicated URLs due that may be splitted for PDF output -->
    19     <xsl:if test="(contains(@url, '.tar.') or 
    20                    contains(@url, '.tgz')  or 
     19    <xsl:if test="(contains(@url, '.tar.') or
     20                   contains(@url, '.tgz')  or
    2121                   contains(@url, '.patch')) and
    2222                  not(ancestor-or-self::*/@condition = 'pdf')">
  • udev-lfs/ChangeLog

    rdf1207e rd4c8dce4  
    6262        * 55-lfs.rules: Override default perms on floppy disk devices provided
    6363          by 50-udev-default.rules.  Thanks to Bruce Dubbs for the fix.  Closes
    64           LFS ticket #2076. 
     64          LFS ticket #2076.
    6565
    66662008-05-21  Bryan Kadzban  <bryan@linuxfromscratch.org>
     
    146146          upstream sample rules files (from udev-102), except for one rule
    147147          which is more specific in our tarball and should probably be changed
    148           upstream. 
     148          upstream.
    149149        * doc/60-persistent-storage.txt: Modify to match the changes.  Also
    150150          fix a couple typos.
  • udev-lfs/Makefile.lfs

    rdf1207e rd4c8dce4  
    1616        @echo "Use the install target"
    1717
    18 install: 
     18install:
    1919        @mkdir -pv $(DESTDIR)/lib/udev/rules.d \
    2020              $(DESTDIR)/etc/udev/rules.d \
  • udev-lfs/init-net-rules.sh

    rdf1207e rd4c8dce4  
    55# Updated fof udev-197 (DEVICES=en*)
    66
    7 RULES=/etc/udev/rules.d/70-persistent-net.rules 
     7RULES=/etc/udev/rules.d/70-persistent-net.rules
    88DEVICES=$(eval echo /sys/class/net/{en*,eth*,ath*,wlan*[0-9],msh*,ra*,sta*,ctc*,lcs*,hsi*})
    99
     
    6969
    7070  # S/390 uses id matches only, do not use MAC address match
    71   # SUBSYSTEMS=="ccwgroup", 
    72   # export COMMENT="S/390 $driver device at $id", 
    73   # export MATCHID="$id" 
     71  # SUBSYSTEMS=="ccwgroup",
     72  # export COMMENT="S/390 $driver device at $id",
     73  # export MATCHID="$id"
    7474  # export MATCHDRV="$driver"
    7575  # export MATCHADDR=""
     
    9999  msg="The rules file should not be created in the Xen environment"
    100100  usage
    101 fi 
     101fi
    102102
    103103# Variables used to communicate with write_net_rules:
    104 #   INTERFACE             simple interface name         
     104#   INTERFACE             simple interface name
    105105#   MATCHADDR             MAC address used for the match
    106106#   MATCHID               bus_id used for the match
     
    125125     comment
    126126
    127      /lib/udev/write_net_rules 
     127     /lib/udev/write_net_rules
    128128done
    129129
Note: See TracChangeset for help on using the changeset viewer.