Supress installing sysvinit's mesg and last that overwrite the versions

installed by util-linux.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10385 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2013-12-08 01:19:31 +00:00
parent a3bd4d9feb
commit 3c7ea1f646
2 changed files with 13 additions and 28 deletions

View File

@ -38,6 +38,12 @@
<listitem>
<para>2013-12-07</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Supress installing sysvinit's mesg and last
that overwrite the versions installed by util-linux.
Thanks to Chris Staub. Fixes
<ulink url="&lfs-ticket-root;3434">#3434</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Add a sed to diffutils so locales are
properly installed. Fixes

View File

@ -55,12 +55,14 @@
<screen><userinput remap="pre">sed -i 's@Sending processes@&amp; configured via /etc/inittab@g' src/init.c</userinput></screen>
<para>Maintained versions of the <command>wall</command>,
<command>mountpoint</command>, and <command>utmpdump</command> programs were
<command>mountpoint</command>, <command>last</command>,
<command>mesg</command>, and <command>utmpdump</command> programs were
installed earlier by Util-linux. Suppress the installation of Sysvinit's
versions of these programs and their man pages:</para>
<screen><userinput remap="make">sed -i -e '/utmpdump/d' \
-e '/mountpoint/d' src/Makefile</userinput></screen>
-e '/mountpoint/d' \
-e '/mesg/d' src/Makefile</userinput></screen>
<para>Compile the package:</para>
@ -81,8 +83,8 @@
<segtitle>Installed programs</segtitle>
<seglistitem>
<seg>bootlogd, fstab-decode, halt, init, killall5, last,
lastb (link to last), mesg, pidof (link to killall5),
<seg>bootlogd, fstab-decode, halt, init, killall5,
lastb (link to last), pidof (link to killall5),
poweroff (link to halt), reboot (link to halt), runlevel, shutdown,
sulogin, and telinit (link to init)</seg>
</seglistitem>
@ -151,18 +153,6 @@
</listitem>
</varlistentry>
<varlistentry id="last">
<term><command>last</command></term>
<listitem>
<para>Shows which users last logged in (and out), searching back
through the <filename>/var/log/wtmp</filename> file; it also shows
system boots, shutdowns, and run-level changes</para>
<indexterm zone="ch-system-sysvinit last">
<primary sortas="b-last">last</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="lastb">
<term><command>lastb</command></term>
<listitem>
@ -174,17 +164,6 @@
</listitem>
</varlistentry>
<varlistentry id="mesg">
<term><command>mesg</command></term>
<listitem>
<para>Controls whether other users can send messages to the current
user's terminal</para>
<indexterm zone="ch-system-sysvinit mesg">
<primary sortas="b-mesg">mesg</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pidof">
<term><command>pidof</command></term>
<listitem>