Changeset 55851d6


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

Files:
13 edited

Legend:

Unmodified
Added
Removed
  • chapter01/administrativa.xml

    rd44a965 r55851d6  
    2727ask that you've at least checked the LFS FAQ (see above) and the mailing list
    2828archives (see below) for the answer to your question. You can find the IRC
    29 network at <emphasis>irc.linuxfromscratch.org</emphasis> or
    30 <emphasis>irc.linux-phreak.net</emphasis> port 6667. The support channel is
     29network at <uri>irc.linuxfromscratch.org</uri> or
     30<uri>irc.linux-phreak.net</uri> port 6667. The support channel is
    3131named #LFS-support.</para>
    3232
     
    3737<title>Mailing lists</title>
    3838
    39 <para>The <emphasis>linuxfromscratch.org</emphasis> server is hosting a number
     39<para>The <uri>linuxfromscratch.org</uri> server is hosting a number
    4040of mailing lists used for the development of the LFS project. These lists
    4141include, among others, the main development and support lists.</para>
     
    5050<title>News server</title>
    5151
    52 <para>All the mailing lists hosted at <emphasis>linuxfromscratch.org</emphasis>
     52<para>All the mailing lists hosted at <uri>linuxfromscratch.org</uri>
    5353are also accessible via the NNTP server. All messages posted to a mailing list
    5454are copied to the corresponding newsgroup, and vice versa.</para>
    5555
    5656<para>The news server can be reached at
    57 <emphasis>news.linuxfromscratch.org</emphasis>.</para>
     57<uri>news.linuxfromscratch.org</uri>.</para>
    5858
    5959</sect2>
  • chapter01/askforhelp.xml

    rd44a965 r55851d6  
    3434</itemizedlist>
    3535
    36 <para>(Note that saying that you've deviated from the book doesn't mean
     36<note><para>Saying that you've deviated from the book doesn't mean
    3737that we won't help you. After all, LFS is about choice. It'll just
    38 help us to see other possible causes of your problem.)</para>
     38help us to see other possible causes of your problem.</para></note>
    3939
    4040</sect2>
     
    6060As an example, here is some screen output from make:</para>
    6161
    62 <screen>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\"
     62<screen><computeroutput>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\"
    6363-DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\"
    6464-DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.
     
    7474make[1]: *** [all-recursive] Error 1
    7575make[1]: Leaving directory `/lfs/tmp/make-3.79.1'
    76 make: *** [all-recursive-am] Error 2</screen>
     76make: *** [all-recursive-am] Error 2</computeroutput></screen>
    7777
    7878<para>In this case, many people just include the bottom section where it
    7979says:</para>
    8080
    81 <screen>make [2]: *** [make] Error 1</screen>
     81<screen><computeroutput>make [2]: *** [make] Error 1</computeroutput></screen>
    8282
    8383<para>and onwards. This isn't enough for us to diagnose the problem because it
  • chapter02/creatingfilesystem.xml

    rd44a965 r55851d6  
    1717<para>To create an ext2 file system on the LFS partition run the following:</para>
    1818
    19 <screen><userinput>mke2fs /dev/xxx</userinput></screen>
     19<screen><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>
    2020
    21 <para>Replace <filename>xxx</filename> with the name of the LFS partition
     21<para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS partition
    2222(something like <filename>hda5</filename>).</para>
    2323
    2424<para>If you created a (new) swap partition you need to initialize it as a
    2525swap partition too (also known as formatting, like you did above with
    26 <userinput>mke2fs</userinput>) by running:</para>
     26<command>mke2fs</command>) by running:</para>
    2727
    28 <screen><userinput>mkswap /dev/yyy</userinput></screen>
     28<screen><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen>
    2929
    30 <para>Replace <filename>yyy</filename> with the name of the swap
     30<para>Replace <replaceable>[yyy]</replaceable> with the name of the swap
    3131partition.</para>
    3232
  • chapter02/creatingpartition.xml

    rd44a965 r55851d6  
    2929a swap partition.</para>
    3030
    31 <para>Start a disk partitioning program such as <userinput>cfdisk</userinput>
    32 or <userinput>fdisk</userinput> with an argument naming the hard disk upon
     31<para>Start a disk partitioning program such as <command>cfdisk</command>
     32or <command>fdisk</command> with an argument naming the hard disk upon
    3333which the new partition must be created -- for example
    3434<filename>/dev/hda</filename> for the primary IDE disk. Create a Linux native
    3535partition and a swap partition, if needed. Please refer to the man pages of
    36 <userinput>cfdisk</userinput> or <userinput>fdisk</userinput> if you don't yet
     36<command>cfdisk</command> or <command>fdisk</command> if you don't yet
    3737know how to use the programs.</para>
    3838
  • chapter02/mounting.xml

    rd44a965 r55851d6  
    1111the partition. For that, we need to mount it, and have to choose a mount
    1212point. In this book we assume that the file system is mounted under
    13 <filename>/mnt/lfs</filename>, but it doesn't matter what directory
     13<filename class="directory">/mnt/lfs</filename>, but it doesn't matter what directory
    1414you choose.</para>
    1515
     
    2222
    2323<screen><userinput>mkdir -p $LFS
    24 mount /dev/xxx $LFS</userinput></screen>
     24mount /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>
    2525
    26 <para>Replace <filename>xxx</filename> with the designation of the LFS
     26<para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS
    2727partition.</para>
    2828
    2929<para>If you have decided to use multiple partitions for LFS (say one for
    30 <filename>/</filename> and another for <filename>/usr</filename>), mount
    31 them like this:</para>
     30<filename class="directory">/</filename> and another for
     31<filename class="directory">/usr</filename>), mount them like this:</para>
    3232
    3333<screen><userinput>mkdir -p $LFS
    34 mount /dev/xxx $LFS
     34mount /dev/<replaceable>[xxx]</replaceable> $LFS
    3535mkdir $LFS/usr
    36 mount /dev/yyy $LFS/usr</userinput></screen>
     36mount /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>
    3737
    38 <para>Of course, replace <filename>xxx</filename> and <filename>yyy</filename>
    39 with the appropriate partition names.</para>
     38<para>Of course, replace <replaceable>[xxx]</replaceable> and
     39<replaceable>[yyy]</replaceable> with the appropriate partition names.</para>
    4040
    4141<para>You should also ensure that this new partition is not mounted with
  • chapter03/introduction.xml

    rd44a965 r55851d6  
    3232that is conveniently available throughout the entire build. You'll also need a
    3333working directory in which to unpack the sources and build them. A scheme that
    34 works well is to use <filename>$LFS/sources</filename> as the place to store
     34works well is to use <filename class="directory">$LFS/sources</filename> as the place to store
    3535the tarballs and patches, <emphasis>and</emphasis> as a working directory.
    3636This way everything you need will be located on the LFS partition and available
  • 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>
  • stylesheets/lfs.css

    rd44a965 r55851d6  
    130130
    131131/* Admonitions */
    132 div.note, div.tip {
     132div.admonition {
    133133  background-color: #fffff6;
    134   border: 2px solid #dbddec;
     134  border: medium solid #600;
    135135  width: 90%;
    136136  margin: .5em auto;
    137 }
    138 
    139 div.important, div.warning, div.caution {
    140   background-color: #fffff6;
    141   border: medium solid #400;
    142   width: 90%;
    143   margin: 1.5em auto;
    144   color: #600;
    145   font-size: larger;
    146 }
    147 
    148 div.important h3, div.warning h3, div.caution h3 {
    149   color: #900;
    150137}
    151138
     
    163150}
    164151
    165 div.important em, div.warning em, div.caution em {
    166   color: #000;
    167   font-weight: bold;
    168 }
    169 
    170 div.important tt, div.warning tt, div.caution tt {
    171   font-weight: bold;
    172 }
    173 
    174152/* variablelist & segmentedlist */
    175153dl {
     
    188166  padding: 0;
    189167}
    190 
    191168div.variablelist dd {
    192169  margin-bottom: 1em;
     
    195172div.variablelist dd p {
    196173  margin-top: 0px;
    197 }
    198 
    199 dl.materials dt, div.installation dt, div.configuration dt, div.sect2 dt {
    200   display: list-item;
    201174}
    202175
     
    223196}
    224197
    225 pre.screen {
     198pre.userinput {
    226199  color: #101310;
    227200  background-color: #e5e5e5;
     
    232205}
    233206
     207pre.screen {
     208  background-color: #e9e9e9;
     209  border: 1px solid #050505;
     210  padding: .5em 1em;
     211  margin: 0 2em;
     212}
     213
    234214/* Sections */
    235215div.wrap h1 {
    236216  background: #f5f6f7;
    237   padding: 1em 0 0.5em 0;
     217  padding: 0.5em 0 0.5em 0;
    238218  margin: 0px auto;
    239219}
     
    242222  background: #f5f6f7;
    243223  border-bottom: 0.2em solid #dbddec;
    244   padding: 0.5em 0.5em 0.3em 0.5em;
     224  padding: 0 0.5em 0.3em 0.5em;
    245225  margin: 0px auto;
    246226}
     
    261241  background: #f5f6f7;
    262242  border-top: 0.2em solid #dbddec;
    263   padding: 0.5em 0.5em 1em 0.5em;
     243  padding: 0.5em 0.5em 0.5em 0.5em;
    264244  margin: 0.5em 0 .5em 0;
    265245}
  • stylesheets/xhtml/lfs-mixed.xsl

    rd44a965 r55851d6  
    88  <xsl:template match="screen">
    99    <xsl:choose>
    10         <!-- Temporally hack -->
    1110      <xsl:when test="child::* = userinput">
    12         <pre class="{name(.)}">
     11        <pre class="userinput">
    1312          <kbd class="command">
    1413            <xsl:value-of select="."/>
Note: See TracChangeset for help on using the changeset viewer.