[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. clfs-2.1.0-1199-gde546c8

git git at cross-lfs.org
Tue Jun 3 01:14:57 PDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, master has been updated
       via  de546c8bb77b27eac536a46c47fcd79edb8fda2d (commit)
       via  3359e39426733af86d1977254d57b88c653a7744 (commit)
       via  42601333115d1178fd12b60fb408ee5f5d79a96e (commit)
       via  c0590b9ef79a40105b25e81af96e29be3f98a88a (commit)
       via  72962ac02a7ae7650d974c2965e4bc145d1d22c1 (commit)
       via  644e7ad9802926d5179f94acf99a918354134cd7 (commit)
      from  7eba377561fde60e9d78b9b1fc082b74de14b7f7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit de546c8bb77b27eac536a46c47fcd79edb8fda2d
Author: Chris Staub <chris at beaker67.com>
Date:   Tue Jun 3 04:13:53 2014 -0400

    Specify root for more commands

diff --git a/BOOK/final-preps/common/addinguser.xml b/BOOK/final-preps/common/addinguser.xml
index 55c1f40..88d9705 100644
--- a/BOOK/final-preps/common/addinguser.xml
+++ b/BOOK/final-preps/common/addinguser.xml
@@ -81,7 +81,8 @@ chown -v clfs:clfs /home/clfs</userinput></screen>
 
 <screen><userinput>passwd clfs</userinput></screen>
 
-  <para>Grant <systemitem class="username">clfs</systemitem> full access to
+  <para>As <systemitem class="username">root</systemitem>,
+  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">clfs</systemitem> the directorys' owner:</para>
@@ -89,8 +90,10 @@ chown -v clfs:clfs /home/clfs</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">clfs</systemitem> ownership of this directory:</para>
+  <para>If a separate working directory was created as suggested, run the
+  following command as <systemitem class="username">root</systemitem> to
+  give user <systemitem class="username">clfs</systemitem> ownership of this
+  directory as well:</para>
 
 <screen><userinput>chown -v clfs ${CLFS}/sources</userinput></screen>
 
diff --git a/BOOK/materials/common/introduction.xml b/BOOK/materials/common/introduction.xml
index 5db386c..6b33100 100644
--- a/BOOK/materials/common/introduction.xml
+++ b/BOOK/materials/common/introduction.xml
@@ -40,7 +40,8 @@
   <para>Make this directory writable and sticky. When a directory is
   marked <quote>sticky</quote>, that means that even if multiple users have
   write permission on that directory, any file within that directory can only be
-  deleted or modified by its owner. The following command will enable the
+  deleted or modified by its owner. The following command, run as
+  <systemitem class="username">root</systemitem>, will enable the
   write and sticky modes:</para>
 
 <screen><userinput>chmod -v a+wt ${CLFS}/sources</userinput></screen>

commit 3359e39426733af86d1977254d57b88c653a7744
Author: Chris Staub <chris at beaker67.com>
Date:   Tue Jun 3 03:55:57 2014 -0400

    More additions to specify running commands as root

diff --git a/BOOK/partitioning/common/mounting.xml b/BOOK/partitioning/common/mounting.xml
index c0707d7..c5be904 100644
--- a/BOOK/partitioning/common/mounting.xml
+++ b/BOOK/partitioning/common/mounting.xml
@@ -14,13 +14,14 @@
   be made accessible. In order to do this, the partition needs to be
   mounted at a chosen mount point.</para>
 
-  <para>If you haven't already, choose a mount point and assign it to the
-  <envar>CLFS</envar> environment variable by running:</para>
+  <para>As the <systemitem class="username">root</systemitem> user, ensure the
+  <envar>CLFS</envar> variable is set, if you haven't already:</para>
 
 <screen><userinput>export CLFS=<replaceable>[/mnt/clfs]</replaceable></userinput></screen>
 
   <para>Next, create the mount point and mount the CLFS file system by
-  running:</para>
+  running the following commands as
+  <systemitem class="username">root</systemitem>:</para>
 
 <screen><userinput>mkdir -pv ${CLFS}
 mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}</userinput></screen>
@@ -30,7 +31,8 @@ mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}</userinput></screen>
 
   <para>If using multiple partitions for CLFS (e.g., one for <filename
   class="directory">/</filename> and another for <filename
-  class="directory">/usr</filename>), mount them using:</para>
+  class="directory">/usr</filename>), mount them as
+  <systemitem class="username">root</systemitem> using:</para>
 
 <screen><userinput>mkdir -pv ${CLFS}
 mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}

commit 42601333115d1178fd12b60fb408ee5f5d79a96e
Author: Chris Staub <chris at beaker67.com>
Date:   Tue Jun 3 03:48:44 2014 -0400

    Specify root user for more commands, for consistency

diff --git a/BOOK/partitioning/common/creatingfilesystem.xml b/BOOK/partitioning/common/creatingfilesystem.xml
index 8f0f23e..e61b45e 100644
--- a/BOOK/partitioning/common/creatingfilesystem.xml
+++ b/BOOK/partitioning/common/creatingfilesystem.xml
@@ -19,7 +19,8 @@
   <ulink url="&cblfs-root;index.php?section=6#File_System"/>.</para>
 
   <para os="b">To create an <systemitem class="filesystem">ext2</systemitem> file
-  system on the CLFS partition, run the following:</para>
+  system on the CLFS partition, run the following as
+  <systemitem class="username">root</systemitem>:</para>
 
 <screen os="c"><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>
 
@@ -40,9 +41,10 @@
 
     <para>If the output contains features other than: dir_index; filetype;
     large_file; resize_inode or sparse_super then your host system may have custom
-    enhancements.  In that case, to avoid later problems, you should compile the
+    enhancements. In that case, to avoid later problems, you should compile the
     stock E2fsprogs package and use the resulting binaries to re-create the
-    filesystem on your CLFS partition:</para>
+    filesystem on your CLFS partition. To do this, run the following commands
+    as <systemitem class="username">root</systemitem>:</para>
 
 <screen os="g"><userinput>cd /tmp
 tar xjf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2
@@ -57,13 +59,14 @@ rm -rf e2fsprogs-&e2fsprogs-version;</userinput></screen>
 
   </note>
 
-  <para os="h">If a swap partition was created, it will need to be initialized
-  for use by issuing the command below. If you are using an existing swap
-  partition, there is no need to format it.</para>
+  <para os="h">If you created a swap partition, you will need to initialize it
+  for use by issuing the command below as
+  <systemitem class="username">root</systemitem>:</para>
 
 <screen os="i"><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen>
 
   <para os="j">Replace <replaceable>[yyy]</replaceable> with the name of the
-  swap partition.</para>
+  swap partition. If you are using an existing swap partition, there is no
+  need to format it.</para>
 
 </sect1>

commit c0590b9ef79a40105b25e81af96e29be3f98a88a
Author: Chris Staub <chris at beaker67.com>
Date:   Tue Jun 3 03:24:34 2014 -0400

    Updated partitioning page with a mention of SATA

diff --git a/BOOK/partitioning/common/creatingpartition.xml b/BOOK/partitioning/common/creatingpartition.xml
index 9a98d8a..b7c175f 100644
--- a/BOOK/partitioning/common/creatingpartition.xml
+++ b/BOOK/partitioning/common/creatingpartition.xml
@@ -40,8 +40,8 @@
   or <command>fdisk</command> with a command line option naming the hard
   disk on which the new partition will be created—for example
   <filename class="devicefile">/dev/sda</filename> for the primary
-  Integrated Drive Electronics (IDE) disk. Create a Linux native partition
-  and a swap partition, if needed. Please refer to
+  Integrated Drive Electronics (IDE) or Serial ATA (SATA) disk. Create a Linux
+  native partition and a swap partition, if needed. Please refer to
   <filename>cfdisk(8)</filename> or <filename>fdisk(8)</filename> if you
   do not yet know how to use the programs.</para>
 

commit 72962ac02a7ae7650d974c2965e4bc145d1d22c1
Author: Chris Staub <chris at beaker67.com>
Date:   Tue Jun 3 03:19:18 2014 -0400

    Specify root for starting partitioning program

diff --git a/BOOK/partitioning/common/creatingpartition.xml b/BOOK/partitioning/common/creatingpartition.xml
index 6a10585..9a98d8a 100644
--- a/BOOK/partitioning/common/creatingpartition.xml
+++ b/BOOK/partitioning/common/creatingpartition.xml
@@ -35,7 +35,8 @@
   partition for an CLFS system can be the same as the one used by the host
   system, in which case it is not necessary to create another one.</para>
 
-  <para os="d">Start a disk partitioning program such as <command>cfdisk</command>
+  <para os="d">As the <systemitem class="username">root</systemitem> user,
+  start a disk partitioning program such as <command>cfdisk</command>
   or <command>fdisk</command> with a command line option naming the hard
   disk on which the new partition will be created—for example
   <filename class="devicefile">/dev/sda</filename> for the primary

commit 644e7ad9802926d5179f94acf99a918354134cd7
Author: Chris Staub <chris at beaker67.com>
Date:   Tue Jun 3 03:16:21 2014 -0400

    Added suggestion to skip remainder of partitioning chapter if not using a separate partition

diff --git a/BOOK/partitioning/common/creatingpartition.xml b/BOOK/partitioning/common/creatingpartition.xml
index 9d59ef1..6a10585 100644
--- a/BOOK/partitioning/common/creatingpartition.xml
+++ b/BOOK/partitioning/common/creatingpartition.xml
@@ -16,7 +16,9 @@
   unpartitioned space, to create one. However, if you're building for a
   different architecture you can simply build everything in
   <quote>/mnt/clfs</quote> (or whatever directory you want to use) and
-  transfer it to your target machine.</para>
+  transfer it to your target machine. If you do not plan to use a separate
+  partition for building CLFS, you can skip the rest of this chapter and
+  continue on to <xref linkend="chapter-getting-materials"/>.</para>
 
   <para os="b">A minimal system requires around 6 gigabytes (GB).
   This is enough to store all the source tarballs and compile the packages. The CLFS

-----------------------------------------------------------------------

Summary of changes:
 BOOK/final-preps/common/addinguser.xml          |    9 ++++++---
 BOOK/materials/common/introduction.xml          |    3 ++-
 BOOK/partitioning/common/creatingfilesystem.xml |   17 ++++++++++-------
 BOOK/partitioning/common/creatingpartition.xml  |   11 +++++++----
 BOOK/partitioning/common/mounting.xml           |   10 ++++++----
 5 files changed, 31 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list