[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, sysvinit, updated. clfs-2.1.0-1309-ga4fd97e

git git at cross-lfs.org
Wed Jul 9 22:57:58 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, sysvinit has been updated
       via  a4fd97e6265a1f1bea32a0c4a2e3716eb20c116e (commit)
      from  1e08a9b49afd1dbfb64a57db3d24eeea94849b53 (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 a4fd97e6265a1f1bea32a0c4a2e3716eb20c116e
Author: Chris Staub <chris at beaker67.com>
Date:   Thu Jul 10 01:57:54 2014 -0400

    Use pidof from procps-ng

diff --git a/BOOK/final-system/common/procps-ng.xml b/BOOK/final-system/common/procps-ng.xml
index c5d6436..2d2d280 100644
--- a/BOOK/final-system/common/procps-ng.xml
+++ b/BOOK/final-system/common/procps-ng.xml
@@ -115,15 +115,15 @@ ln -sfv ../../lib/$(readlink /usr/lib/libprocps.so) /usr/lib/libprocps.so</useri
         </listitem>
       </varlistentry>
 
-<!--      <varlistentry id="pidof">
+      <varlistentry id="pidof">
         <term><command>pidof</command></term>
         <listitem>
-          <para>Looks up processes based on their name and other attributes</para>
+          <para>Reports the PIDs of the given programs</para>
           <indexterm zone="ch-system-procps-ng pidof">
             <primary sortas="b-pidof">pidof</primary>
           </indexterm>
         </listitem>
-      </varlistentry> -->
+      </varlistentry>
 
       <varlistentry id="pkill">
         <term><command>pkill</command></term>
diff --git a/BOOK/final-system/common/sysvinit.xml b/BOOK/final-system/common/sysvinit.xml
index 9dbe61b..8bb4b94 100644
--- a/BOOK/final-system/common/sysvinit.xml
+++ b/BOOK/final-system/common/sysvinit.xml
@@ -24,11 +24,11 @@
   <sect2 role="installation">
     <title>Installation of Sysvinit</title>
 
-    <para os ="a">Apply a sed which disables last, mesg, mountpoint, sulogin,
-    utmpdump, and wall from being built and installed as they are provided by
-    Util-linux:</para>
+    <para os ="a">Apply a <command>sed</command> to disable several programs
+    from being built and installed as better versions are provided by
+    other packages:</para>
 
-<screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \
+<screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' -e 's/pidof\.8//' -e '/ln .*pidof/d' \
     -e '/utmpdump/d' -e '/mountpoint/d' -e '/mesg/d' src/Makefile</userinput></screen>
 
     <para os ="c">Compile the package:</para>
@@ -124,9 +124,9 @@ EOF</userinput></screen>
       <segtitle>Installed programs</segtitle>
 
       <seglistitem>
-        <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to
-        killall5), poweroff (link to halt), reboot (link to halt), runlevel,
-        shutdown, and telinit (link to init)</seg>
+        <seg>bootlogd, fstab-decode, halt, init, killall5, poweroff
+        (link to halt), reboot (link to halt), runlevel, shutdown, telinit
+        (link to init)</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -193,16 +193,6 @@ EOF</userinput></screen>
         </listitem>
       </varlistentry>
 
-      <varlistentry id="pidof">
-        <term><command>pidof</command></term>
-        <listitem>
-          <para>Reports the PIDs of the given programs</para>
-          <indexterm zone="ch-system-sysvinit pidof">
-            <primary sortas="b-pidof">pidof</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
       <varlistentry id="poweroff">
         <term><command>poweroff</command></term>
         <listitem>
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index bc46fcb..cddc85f 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -43,6 +43,10 @@
           <para>[Chris] - Removed creation of /var/run/utmp - it's created
           on boot in the bootscripts.</para>
         </listitem>
+        <listitem>
+          <para>[Chris] - Removed creation of pidof from Sysvinit
+          installation, to use pidof from Procps-ng instead.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

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

Summary of changes:
 BOOK/final-system/common/procps-ng.xml |    6 +++---
 BOOK/final-system/common/sysvinit.xml  |   24 +++++++-----------------
 BOOK/introduction/common/changelog.xml |    4 ++++
 3 files changed, 14 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list