Explorar o código

Added patch for 256-byte inode support in GRUB. Fixes #2161.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8514 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Huntwork %!s(int64=17) %!d(string=hai) anos
pai
achega
6bf97d6812
Modificáronse 5 ficheiros con 25 adicións e 0 borrados
  1. 4 0
      chapter01/changelog.xml
  2. 4 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 5 0
      chapter06/grub.xml
  5. 4 0
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -46,6 +46,10 @@
         <listitem>
           <para>[jhuntwork] - Upgraded to iana-etc-2.30. Fixes #2174.</para>
         </listitem>
+        <listitem>
+          <para>[jhuntwork] - Added patch for 256-byte inode support in GRUB.
+	  Fixes #2161.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

+ 4 - 0
chapter01/whatsnew.xml

@@ -224,6 +224,10 @@
       <para>&grep-fixes-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&grub-inode-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&module-init-manpages-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -122,6 +122,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>GRUB 256-Byte Inodes Patch - <token>&grub-inode-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&grub-inode-patch;"/></para>
+        <para>MD5 sum: <literal>&grub-inode-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Inetutils No-Server-Man-Pages Patch - <token>&inetutils-man_pages-patch-size;</token>:</term>
       <listitem>

+ 5 - 0
chapter06/grub.xml

@@ -53,6 +53,11 @@
 
 <screen><userinput remap="pre">patch -Np1 -i ../&grub-geometry-patch;</userinput></screen>
 
+    <para>By default, GRUB doesn't support ext2 filesystems with 256-byte inodes.
+    Fix this by applying the following patch:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&grub-inode-patch;</userinput></screen>
+
     <para>Prepare GRUB for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>

+ 4 - 0
patches.ent

@@ -56,6 +56,10 @@
 <!ENTITY groff-debian-patch-md5 "05607e7fcfd6e5091f020bf44ddca10b">
 <!ENTITY groff-debian-patch-size "379 KB">
 
+<!ENTITY grub-inode-patch "grub-&grub-version;-256byte_inode-1.patch">
+<!ENTITY grub-inode-patch-md5 "2482bef9c1866b4045767a56268ba673">
+<!ENTITY grub-inode-patch-size "4.8 KB">
+
 <!ENTITY grub-geometry-patch "grub-&grub-version;-disk_geometry-1.patch">
 <!ENTITY grub-geometry-patch-md5 "bf1594e82940e25d089feca74c6f1879">
 <!ENTITY grub-geometry-patch-size "28 KB">