Changeset 55851d6 for chapter04


Ignore:
Timestamp:
05/29/2004 08:00:54 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
05616e2
Parents:
d44a965
Message:

Tagging corrections in chapters 1 to 4.

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

Location:
chapter04
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter04/aboutlfs.xml

    rd44a965 r55851d6  
    2323
    2424<para>Having this variable set means that if you are told to run a command like
    25 <userinput>mkdir $LFS/tools</userinput>, you can type it literally. Your shell
    26 will replace "$LFS" with "/mnt/lfs" (or whatever you set the variable to) when
    27 it processes the command line.</para>
     25<command>mkdir $LFS/tools</command>, you can type it literally. Your shell
     26will replace <quote>$LFS</quote> with <quote>/mnt/lfs</quote> (or whatever
     27you set the variable to) when it processes the command line.</para>
    2828
    2929<para>Don't forget to check that <quote>$LFS</quote> is set whenever you leave and
    30 reenter the environment (as when doing an <quote>su</quote> to root or another user).
     30reenter the environment (as when doing a <quote>su</quote> to root or another user).
    3131</para>
    3232
  • chapter04/aboutsbus.xml

    rd44a965 r55851d6  
    99
    1010<para>Most people would like to know beforehand approximately how long it
    11 takes to compile and install each package. But "Linux from Scratch" is built
     11takes to compile and install each package. But <quote>Linux from Scratch</quote> is built
    1212on so many different systems, it is not possible to give actual times that are
    1313anywhere near accurate: the biggest package (Glibc) won't take more than
  • chapter04/addinguser.xml

    rd44a965 r55851d6  
    2020<para>The meaning of the switches:</para>
    2121
    22 <itemizedlist>
    23 <listitem><para><userinput>-s /bin/bash</userinput>: This makes
    24 <userinput>bash</userinput> the default shell for user
     22<variablelist>
     23<varlistentry>
     24<term><parameter>-s /bin/bash</parameter></term>
     25<listitem><para>This makes
     26<command>bash</command> the default shell for user
    2527<emphasis>lfs</emphasis>.</para></listitem>
     28</varlistentry>
    2629
    27 <listitem><para><userinput>-m</userinput>: This creates a home
     30<varlistentry>
     31<term><parameter>-m</parameter></term>
     32<listitem><para>This creates a home
    2833directory for <emphasis>lfs</emphasis>.</para></listitem>
     34</varlistentry>
    2935
    30 <listitem><para><userinput>-k /dev/null</userinput>: This parameter
     36<varlistentry>
     37<term><parameter>-k /dev/null</parameter></term>
     38<listitem><para>This parameter
    3139prevents possible copying of files from a skeleton directory (default
    32 is <filename>/etc/skel</filename>) by changing the input location to
     40is <filename class="directory">/etc/skel</filename>) by changing the input location to
    3341the special null device.</para></listitem>
    34 </itemizedlist>
     42</varlistentry>
     43</variablelist>
    3544
    3645<para>If you want to be able to log in as <emphasis>lfs</emphasis>, then give
     
    5665<screen><userinput>su - lfs</userinput></screen>
    5766
    58 <para>The <quote><command>-</command></quote> instructs <command>su</command> to
     67<para>The <quote><parameter>-</parameter></quote> instructs <command>su</command> to
    5968start a <emphasis>login</emphasis> shell.</para>
    6069
  • chapter04/creatingtoolsdir.xml

    rd44a965 r55851d6  
    3939
    4040<para>The created symlink enables us to compile our toolchain so that it always
    41 refers to <filename>/tools</filename>, meaning that the compiler, assembler
     41refers to <filename class="directory">/tools</filename>, meaning that the compiler, assembler
    4242and linker will work both in this chapter (when we are still using some tools
    4343from the host) <emphasis>and</emphasis> in the next (when we are <quote>chrooted</quote> to
  • chapter04/settingenviron.xml

    rd44a965 r55851d6  
    1313<filename>.bash_profile</filename>:</para>
    1414
    15 <screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; "EOF"</userinput>
     15<screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; <quote>EOF<quote>
    1616exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
    17 <userinput>EOF</userinput></screen>
     17EOF</userinput></screen>
    1818
    1919<para>Normally, when you log on as user <emphasis>lfs</emphasis>,
     
    3333<filename>.bashrc</filename> file instead. Create this latter file now:</para>
    3434
    35 <screen><userinput>cat &gt; ~/.bashrc &lt;&lt; "EOF"</userinput>
     35<screen><userinput>cat &gt; ~/.bashrc &lt;&lt; <quote>EOF<quote>
    3636set +h
    3737umask 022
     
    4040PATH=/tools/bin:/bin:/usr/bin
    4141export LFS LC_ALL PATH
    42 <userinput>EOF</userinput></screen>
     42EOF</userinput></screen>
    4343
    4444<para>The <command>set +h</command> command turns off
     
    6969everything will work as expected in the chroot environment.</para>
    7070
    71 <para>We prepend <filename>/tools/bin</filename> to the standard PATH so
     71<para>We prepend <filename class="directory">/tools/bin</filename> to the standard PATH so
    7272that, as we move along through this chapter, the tools we build will get used
    7373during the rest of the building process.</para>
Note: See TracChangeset for help on using the changeset viewer.