r1874 - / trunk/BOOK trunk/BOOK/final-preps trunk/BOOK/prologue/common

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sat Jul 1 13:30:11 PDT 2006

Author: jim
Date: 2006-07-01 14:30:08 -0600 (Sat, 01 Jul 2006)
New Revision: 1874

 r4213 at server (orig r1955):  jim | 2006-07-01 12:53:33 -0700
  r4212 at server:  jim | 2006-07-01 12:53:13 -0700
  Last update to convert from LFS to CLFS

Property changes on: 
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:1954
   + b6734a72-470d-0410-b049-f317dca95413:/:1955

Property changes on: trunk/BOOK
Name: svk:merge
   - 38c7b366-470d-0410-a457-935707c16d9b:/cross-lfs:4209
   + 38c7b366-470d-0410-a457-935707c16d9b:/cross-lfs:4212

Modified: trunk/BOOK/final-preps/addinguser.xml
--- trunk/BOOK/final-preps/addinguser.xml	2006-07-01 20:29:29 UTC (rev 1873)
+++ trunk/BOOK/final-preps/addinguser.xml	2006-07-01 20:30:08 UTC (rev 1874)
@@ -8,20 +8,20 @@
 <sect1 id="ch-final-preps-addinguser">
   <?dbhtml filename="addinguser.html"?>
-  <title>Adding the LFS User</title>
+  <title>Adding the CLFS User</title>
   <para>When logged in as user <systemitem class="username">root</systemitem>,
   making a single mistake can damage or destroy a system. Therefore, we
   recommend building the packages as an unprivileged user.
   You could use your own user name, but to make it easier to set up a clean
   work environment, create a new user called <systemitem
-  class="username">lfs</systemitem> as a member of a new group (also named
-  <systemitem class="groupname">lfs</systemitem>) and use this user during
+  class="username">clfs</systemitem> as a member of a new group (also named
+  <systemitem class="groupname">clfs</systemitem>) and use this user during
   the installation process. As <systemitem class="username">root</systemitem>,
   issue the following commands to add the new user:</para>
-<screen><userinput>groupadd lfs
-useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen>
+<screen><userinput>groupadd clfs
+useradd -s /bin/bash -g clfs -m -k /dev/null clfs</userinput></screen>
     <title>The meaning of the command line options:</title>
@@ -30,15 +30,15 @@
       <term><parameter>-s /bin/bash</parameter></term>
         <para>This makes <command>bash</command> the default shell for
-        user <systemitem class="username">lfs</systemitem>.</para>
+        user <systemitem class="username">clfs</systemitem>.</para>
-      <term><parameter>-g lfs</parameter></term>
+      <term><parameter>-g clfs</parameter></term>
-        <para>This option adds user <systemitem class="username">lfs</systemitem>
-        to group <systemitem class="groupname">lfs</systemitem>.</para>
+        <para>This option adds user <systemitem class="username">clfs</systemitem>
+        to group <systemitem class="groupname">clfs</systemitem>.</para>
@@ -46,7 +46,7 @@
         <para>This creates a home directory for <systemitem
-        class="username">lfs</systemitem>.</para>
+        class="username">clfs</systemitem>.</para>
@@ -60,7 +60,7 @@
-      <term><parameter>lfs</parameter></term>
+      <term><parameter>clfs</parameter></term>
         <para>This is the actual name for the created group and user.</para>
@@ -68,33 +68,33 @@
-  <para>To log in as <systemitem class="username">lfs</systemitem> (as
-  opposed to switching to user <systemitem class="username">lfs</systemitem>
+  <para>To log in as <systemitem class="username">clfs</systemitem> (as
+  opposed to switching to user <systemitem class="username">clfs</systemitem>
   when logged in as <systemitem class="username">root</systemitem>, which
-  does not require the <systemitem class="username">lfs</systemitem> user
-  to have a password), give <systemitem class="username">lfs</systemitem>
+  does not require the <systemitem class="username">clfs</systemitem> user
+  to have a password), give <systemitem class="username">clfs</systemitem>
   a password:</para>
-<screen><userinput>passwd lfs</userinput></screen>
+<screen><userinput>passwd clfs</userinput></screen>
-  <para>Grant <systemitem class="username">lfs</systemitem> full access to
+  <para>Grant <systemitem class="username">clfs</systemitem> full access to
   <filename class="directory">$CLFS/cross-tools</filename> and
   <filename class="directory">$CLFS/tools</filename> by making <systemitem
-  class="username">lfs</systemitem> the directorys' owner:</para>
+  class="username">clfs</systemitem> the directorys' owner:</para>
-<screen><userinput>chown -v lfs $CLFS/tools
-chown -v lfs $CLFS/cross-tools</userinput></screen>
+<screen><userinput>chown -v clfs $CLFS/tools
+chown -v clfs $CLFS/cross-tools</userinput></screen>
   <para>If a separate working directory was created as suggested, 
-  give user <systemitem class="username">lfs</systemitem> ownership of this directory:</para>
+  give user <systemitem class="username">clfs</systemitem> ownership of this directory:</para>
-<screen><userinput>chown -v lfs $CLFS/sources</userinput></screen>
+<screen><userinput>chown -v clfs $CLFS/sources</userinput></screen>
-  <para>Next, login as user <systemitem class="username">lfs</systemitem>.
+  <para>Next, login as user <systemitem class="username">clfs</systemitem>.
   This can be done via a virtual console, through a display manager, or
   with the following substitute user command:</para>
-<screen><userinput>su - lfs</userinput></screen>
+<screen><userinput>su - clfs</userinput></screen>
   <para>The <quote><parameter>-</parameter></quote> instructs
   <command>su</command> to start a login shell as opposed to a non-login

Modified: trunk/BOOK/final-preps/settingenviron.xml
--- trunk/BOOK/final-preps/settingenviron.xml	2006-07-01 20:29:29 UTC (rev 1873)
+++ trunk/BOOK/final-preps/settingenviron.xml	2006-07-01 20:30:08 UTC (rev 1874)
@@ -12,14 +12,14 @@
   <para os="a">Set up a good working environment by creating two new startup
   files for the <command>bash</command> shell. While logged in as user
-  <systemitem class="username">lfs</systemitem>, issue the following
+  <systemitem class="username">clfs</systemitem>, issue the following
   command to create a new <filename>.bash_profile</filename>:</para>
 <screen os="b"><userinput>cat > ~/.bash_profile << "EOF"
 <literal>exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash</literal>
-  <para os="c">When logged on as user <systemitem class="username">lfs</systemitem>,
+  <para os="c">When logged on as user <systemitem class="username">clfs</systemitem>,
   the initial shell is usually a <emphasis>login</emphasis> shell which
   reads the <filename>/etc/profile</filename> of the host (probably
   containing some settings and environment variables) and then
@@ -41,10 +41,10 @@
 <screen os="e"><userinput>cat > ~/.bashrc << "EOF"
 <literal>set +h
 umask 022
-export LFS LC_ALL PATH</literal>
+export CLFS LC_ALL PATH</literal>
   <para os="f">The <command>set +h</command> command turns off
@@ -65,7 +65,7 @@
   used by the open(2) system call, new files will end up with permission
   mode 644 and directories with mode 755).</para>
-  <para os="h">The <envar>LFS</envar> variable should be set to the
+  <para os="h">The <envar>CLFS</envar> variable should be set to the
   chosen mount point.</para>
   <para os="i">TO BE REWRITTEN - The <envar>LC_ALL</envar> variable controls

Modified: trunk/BOOK/prologue/common/foreword.xml
--- trunk/BOOK/prologue/common/foreword.xml	2006-07-01 20:29:29 UTC (rev 1873)
+++ trunk/BOOK/prologue/common/foreword.xml	2006-07-01 20:30:08 UTC (rev 1874)
@@ -34,12 +34,12 @@
   fully operational and suitable to individual needs. This process also
   allowed me to create compact and streamlined Linux systems which are
   faster and take up less space than traditional operating systems. I
-  called this system a Linux From Scratch system, or an LFS system for
+  called this system a Linux From Scratch system, or an CLFS system for
   <para>As I shared my goals and experiences with other members of the
   Linux community, it became apparent that there was sustained interest
-  in the ideas set forth in my Linux adventures. Such custom-built LFS
+  in the ideas set forth in my Linux adventures. Such custom-built CLFS
   systems serve not only to meet user specifications and requirements, but
   also serve as an ideal learning opportunity for programmers and system
   administrators to enhance their Linux skills. Out of this broadened
@@ -56,7 +56,7 @@
   to their own needs and allows users more control over their
-  <para>I hope you will have a great time working on your own LFS
+  <para>I hope you will have a great time working on your own CLFS
   system, and enjoy the numerous benefits of having a system that is
   truly <emphasis>your own</emphasis>.</para>

Modified: trunk/BOOK/prologue/common/prerequisites.xml
--- trunk/BOOK/prologue/common/prerequisites.xml	2006-07-01 20:29:29 UTC (rev 1873)
+++ trunk/BOOK/prologue/common/prerequisites.xml	2006-07-01 20:30:08 UTC (rev 1874)
@@ -50,7 +50,7 @@
       <para>This is an LFS Hint written specifically for users new to Linux.
       It includes a list of links to excellent sources of information on a
-      wide range of topics. Anyone attempting to install LFS should have an
+      wide range of topics. Anyone attempting to install CLFS should have an
       understanding of many of the topics in this hint.</para>

Modified: trunk/BOOK/prologue/common/typography.xml
--- trunk/BOOK/prologue/common/typography.xml	2006-07-01 20:29:29 UTC (rev 1873)
+++ trunk/BOOK/prologue/common/typography.xml	2006-07-01 20:30:08 UTC (rev 1874)
@@ -22,7 +22,7 @@
   explanation sections to identify which of the commands is being
-<screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
+<screen><computeroutput>install-info: unknown option '--dir-file=/mnt/clfs/usr/info/dir'</computeroutput></screen>
   <para>This form of text (fixed-width text) shows screen output,
   probably as the result of commands issued.  This format is also used
@@ -33,7 +33,7 @@
   <para>This form of text is used for several purposes in the book.
   Its main purpose is to emphasize important points or items.</para>
-  <para><ulink url="&lfs-root;"/></para>
+  <para><ulink url="&clfs-root;"/></para>
   <para>This format is used for hyperlinks, both within the CLFS
   community and to external pages. It includes HOWTOs, download locations,

More information about the cross-lfs mailing list