[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. 31aa6cb735aea9af102fd2ad2275729317922a63

git git at cross-lfs.org
Sat Nov 24 04:10:54 PST 2012


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  31aa6cb735aea9af102fd2ad2275729317922a63 (commit)
       via  dfa8f77581da89cd5e6002ff5d07c56d9fd5d76f (commit)
      from  6243b1f51b0a374054c33503b5d28cf55415c837 (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 31aa6cb735aea9af102fd2ad2275729317922a63
Author: Chris Staub <chris at beaker67.com>
Date:   Sat Nov 24 07:10:48 2012 -0500

    Made sure wall is actually installed, and updated command explanation for util-linux

diff --git a/BOOK/final-system/common/util-linux.xml b/BOOK/final-system/common/util-linux.xml
index 7615f53..a25ecbd 100644
--- a/BOOK/final-system/common/util-linux.xml
+++ b/BOOK/final-system/common/util-linux.xml
@@ -44,8 +44,7 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
     <para os="a">Prepare Util-linux for compilation:</para>
 
 <screen os="b"><userinput>./configure --enable-arch \
-    --enable-write --disable-wall \
-    --disable-login --disable-su</userinput></screen>
+    --enable-write --disable-login --disable-su</userinput></screen>
 
     <variablelist os="c">
       <title>The meaning of the configure options:</title>
@@ -67,10 +66,11 @@ mkdir -pv /var/lib/hwclock</userinput></screen>
       </varlistentry>
 
       <varlistentry>
-        <term><parameter>--disable-wall</parameter></term>
+        <term><parameter>--disable-login --disable-su</parameter></term>
         <listitem>
-          <para>Disables building the <command>wall</command> program,
-          as the Sysvinit package installs its own version.</para>
+          <para>Disables building the <command>login</command> and
+          <command>su</command> programs, as the Shadow package installs its
+          own versions.</para>
         </listitem>
       </varlistentry>
 

commit dfa8f77581da89cd5e6002ff5d07c56d9fd5d76f
Author: Chris Staub <chris at beaker67.com>
Date:   Sat Nov 24 07:08:59 2012 -0500

    Streamlined sed command for sysvinit

diff --git a/BOOK/final-system/common/sysvinit.xml b/BOOK/final-system/common/sysvinit.xml
index d38433b..32e9130 100644
--- a/BOOK/final-system/common/sysvinit.xml
+++ b/BOOK/final-system/common/sysvinit.xml
@@ -24,12 +24,11 @@
   <sect2 role="installation">
     <title>Installation of Sysvinit</title>
 
-<para os ="a">Apply a sed which removes sulogin, mountpoint, and wall from being built and installed as they are provided by util-linux:</para>
+<para os ="a">Apply a sed which disables sulogin, mountpoint, wall, and
+utmpdump from being built and installed as they are provided by Util-linux:</para>
 
-<screen os="b"><userinput>cp -v src/Makefile{,.orig}
-sed -e 's/\ sulogin//;s/\ sulogin.8//' \
-    -e '/sulogin.*:/d' '/utmpdump/d' \
-    -e '/mountpoint/d' src/Makefile.orig > src/Makefile</userinput></screen>
+<screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \
+    -e '/utmpdump/d' -e '/mountpoint/d' src/Makefile</userinput></screen>
 
 <para os ="c">Compile the package:</para>
 

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

Summary of changes:
 BOOK/final-system/common/sysvinit.xml   |    9 ++++-----
 BOOK/final-system/common/util-linux.xml |   10 +++++-----
 2 files changed, 9 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list