r357 - in trunk/BOOK: chapter01 chapter04 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Wed Mar 9 00:15:56 PST 2005


Author: robert
Date: 2005-03-09 01:15:54 -0700 (Wed, 09 Mar 2005)
New Revision: 357

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter04/patches.xml
   trunk/BOOK/chapter06/coreutils.xml
   trunk/BOOK/chapter06/util-linux.xml
Log:
Add PIC patch to util-linux in chapter 6

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2005-03-09 08:08:39 UTC (rev 356)
+++ trunk/BOOK/chapter01/changelog.xml	2005-03-09 08:15:54 UTC (rev 357)
@@ -104,6 +104,9 @@
 </listitem>
 -->
 
+<listitem><para>March 9th, 2005 [Robert]: Add PIC patch for util-linux in
+chapter 6, fixing problems with llseek in fdisk.</para></listitem>
+
 <listitem><para>March 9th, 2005 [Robert]: Removed the unistd patch from chapter
 5 libc-linux-headers because it's not needed until chapter 6.</para></listitem>
 

Modified: trunk/BOOK/chapter04/patches.xml
===================================================================
--- trunk/BOOK/chapter04/patches.xml	2005-03-09 08:08:39 UTC (rev 356)
+++ trunk/BOOK/chapter04/patches.xml	2005-03-09 08:15:54 UTC (rev 357)
@@ -352,6 +352,14 @@
 </varlistentry>
 
 <varlistentry>
+<term>Util-linux PIC Patch - ? KB:</term>
+<listitem>
+<para><ulink url="&patches-root;util-linux-&util-linux-version;-PIC-1.patch"
+/></para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
 <term>Vim Security Patch - ? KB:</term><listitem>
 <para><ulink url="&patches-root;vim-&vim-version;-security_fix-1.patch"/></para>
 </listitem>

Modified: trunk/BOOK/chapter06/coreutils.xml
===================================================================
--- trunk/BOOK/chapter06/coreutils.xml	2005-03-09 08:08:39 UTC (rev 356)
+++ trunk/BOOK/chapter06/coreutils.xml	2005-03-09 08:15:54 UTC (rev 357)
@@ -32,7 +32,7 @@
 <para>This patch fixes 'uname -p' to return a usefull value, which can be used
 by GCC. It currently only works on x86 architectures:</para>
 
-<screen><userinput>patch -Np1 -i coreutils-5.2.1-uname-3.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i coreutils-&coreutils-version;-uname-3.patch</userinput></screen>
 
 <para>Prevent Coreutils from installing binaries that will be later be
 installed by other packages:</para>

Modified: trunk/BOOK/chapter06/util-linux.xml
===================================================================
--- trunk/BOOK/chapter06/util-linux.xml	2005-03-09 08:08:39 UTC (rev 356)
+++ trunk/BOOK/chapter06/util-linux.xml	2005-03-09 08:15:54 UTC (rev 357)
@@ -49,8 +49,13 @@
 <para>If you want to encrypt your swap space, which is especially usefull with GnuPG, a hint 
 is available at <ulink url="http://ngc891.blogdns.net/projects/hlfs/eswap-hint.txt"/>.</para>
 
+<para>This patch fixes problems with fdisk seek functions when compiled with
+position independence:</userinput></screen>
+
+<screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-PIC-1.patch</userinput></screen>
+
 <para>Util-linux has a compilation error against newer versions of
-Linux-Libc-Headers.  The following patch properly fixes that issue</para>
+Linux-Libc-Headers.  The following patch properly fixes that issue:</para>
 
 <screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-cramfs-1.patch</userinput></screen>
 
@@ -59,7 +64,7 @@
 
 <screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-nologin-1.patch</userinput></screen>
 
-<para>Apply this patch to ... EDIT ME</para>
+<para>Apply this patch to add -fpie when compiling program executables:</para>
 
 <screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-hardened_cflags-1.patch</userinput></screen>
 




More information about the hlfs-book mailing list