فهرست منبع

Added GRUB disk geometry patch and appied existing bash patch to Chapter 5

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.2/BOOK@7694 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 19 سال پیش
والد
کامیت
8f91415f36
4فایلهای تغییر یافته به همراه22 افزوده شده و 0 حذف شده
  1. 7 0
      chapter01/changelog.xml
  2. 5 0
      chapter05/bash.xml
  3. 6 0
      chapter06/grub.xml
  4. 4 0
      patches.ent

+ 7 - 0
chapter01/changelog.xml

@@ -39,6 +39,13 @@
     <listitem>
       <para>July 21, 2006</para>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Added the existing bash patch to Chapter 5
+          to avoid potential custom scripting problems.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Added grub-0.97-disk_geometry-1.patch.</para>
+        </listitem>
         <listitem>
           <para>[bdubbs] - Updated to linux-2.6.16.27.  Added a note to use the
           latest kernel version available in the 2.6.16 series.</para>

+ 5 - 0
chapter05/bash.xml

@@ -37,6 +37,11 @@
   <sect2 role="installation">
     <title>Installation of Bash</title>
 
+    <para>Upstream developers have fixed several issues since the initial
+    release of Bash-&bash-version;.  Apply those fixes:</para>
+
+<screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
+     
     <para>Prepare Bash for compilation:</para>
 
 <screen><userinput>./configure --prefix=/tools --without-bash-malloc</userinput></screen>

+ 6 - 0
chapter06/grub.xml

@@ -41,6 +41,12 @@
     as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>,
     unset them when building GRUB.</para>
 
+    <para>Start by applying the following patch to allow for better drive
+    detection, fix some <application>GCC 4.x</application> issues, and provide
+    better SATA support for some disk controllers:</para>
+
+<screen><userinput>patch -Np1 -i ../&grub-geometry-patch;</userinput></screen>
+
     <para>Prepare GRUB for compilation:</para>
 
 <screen><userinput>./configure --prefix=/usr</userinput></screen>

+ 4 - 0
patches.ent

@@ -62,6 +62,10 @@
 <!ENTITY groff-debian-patch-md5 "a47c281afdda457ba4033498f973400d">
 <!ENTITY groff-debian-patch-size "360 KB">
 
+<!ENTITY grub-geometry-patch "grub-&grub-version;-disk_geometry-1.patch">
+<!ENTITY grub-geometry-patch-md5 "2d29c8ad60d548f2abfaec79ea8bc268">
+<!ENTITY grub-geometry-patch-size "28 KB">
+
 
 <!ENTITY gzip-security_fix-patch "gzip-&gzip-version;-security_fixes-1.patch">
 <!ENTITY gzip-security_fix-patch-md5 "f107844f01fc49446654ae4a8f8a0728">