aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2006-07-22 03:59:52 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2006-07-22 03:59:52 +0000
commit8f91415f367123292a9a2057b57b9241464c5402 (patch)
treed41a2102ac034e85fdc268da375985dccbafb7b6
parent6130b4119e77203361900c2293d9cab7898e6d9e (diff)
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
-rw-r--r--chapter01/changelog.xml7
-rw-r--r--chapter05/bash.xml5
-rw-r--r--chapter06/grub.xml6
-rw-r--r--patches.ent4
4 files changed, 22 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 5263fce1e..ec1e9cd5d 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,13 @@
<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>
</listitem>
diff --git a/chapter05/bash.xml b/chapter05/bash.xml
index b4c29a99c..4461fcb7e 100644
--- a/chapter05/bash.xml
+++ b/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>
diff --git a/chapter06/grub.xml b/chapter06/grub.xml
index 8651c95c8..8570a6ac2 100644
--- a/chapter06/grub.xml
+++ b/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>
diff --git a/patches.ent b/patches.ent
index 6036af9ae..b1755584e 100644
--- a/patches.ent
+++ b/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">