浏览代码

forgot to add patch instructions for procps

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2106 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 年之前
父节点
当前提交
e8dfe4426f
共有 2 个文件被更改,包括 8 次插入1 次删除
  1. 2 0
      chapter06/procps-exp.xml
  2. 6 1
      chapter06/procps-inst.xml

+ 2 - 0
chapter06/procps-exp.xml

@@ -1,6 +1,8 @@
 <sect2>
 <sect2>
 <title>Command explanations</title>
 <title>Command explanations</title>
 
 
+<para><userinput>patch -Np1 -i ../procps-&procps-patch-version;.patch:</userinput> This patch fixes a locale problem that makes top crash under certain locale settings.</para>
+
 <para><userinput>make XSCPT="" install:</userinput> 
 <para><userinput>make XSCPT="" install:</userinput> 
 This will set the Makefile variable XSCPT to an empty value so that
 This will set the Makefile variable XSCPT to an empty value so that
 the XConsole installation is disabled. Otherwise "Make install" tries to
 the XConsole installation is disabled. Otherwise "Make install" tries to

+ 6 - 1
chapter06/procps-inst.xml

@@ -1,9 +1,14 @@
 <sect2>
 <sect2>
 <title>Installation of Procps</title>
 <title>Installation of Procps</title>
 
 
+<para>This package requires its patch to be applied before you can
+install it. Make sure it's unpacked before running the installation
+commands.</para>
+
 <para>Install Procps by running the following commands:</para>
 <para>Install Procps by running the following commands:</para>
 
 
-<para><screen><userinput>make &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../procps-&procps-patch-version;.patch &amp;&amp;
+make &amp;&amp;
 make XSCPT="" install &amp;&amp;
 make XSCPT="" install &amp;&amp;
 mv /usr/bin/kill /bin</userinput></screen></para>
 mv /usr/bin/kill /bin</userinput></screen></para>