瀏覽代碼

Added a sed command to chapter 6-gzip to change the hard-coded
/usr/bin/gzip path to /bin/gzip


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1554 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Gerard Beekmans 23 年之前
父節點
當前提交
5ca1b36bcb
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 4 0
      chapter01/changelog.xml
  2. 2 0
      chapter06/gzip-inst.xml

+ 4 - 0
chapter01/changelog.xml

@@ -24,6 +24,10 @@
 
 <itemizedlist>
 
+<listitem><para>February 10th, 2002 [gerard]: Chapter 6: Added a sed
+command to change gzexe's hardcoded /usr/bin/gzip path and change it to
+/bin/gzip.</para></listitem>
+
 <listitem><para>February 10th, 2002 [gerard]: Chapter 5 + 6: Moved
 additional programs to the ($LFS)/bin directory that are used by the
 bootscripts. No programs used by bootscripts (except daemons themselves)

+ 2 - 0
chapter06/gzip-inst.xml

@@ -4,6 +4,8 @@
 <para>Install Gzip by running the following commands:</para>
 
 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+cp gzexe.in gzexe.in.backup &amp;&amp;
+sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in &amp;&amp;
 make &amp;&amp;
 make install &amp;&amp;
 cd /usr/bin &amp;&amp;