mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 11:49:20 +01:00
Patch util-linux to stop cfdisk from segfaulting
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6809 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
886fa7ff2a
commit
f036150454
@ -95,6 +95,7 @@ First a summary, then a detailed log.</para>
|
|||||||
<listitem><para>&glibc-testfix-patch;</para></listitem>
|
<listitem><para>&glibc-testfix-patch;</para></listitem>
|
||||||
<listitem><para>&perl-libc-patch;</para></listitem>
|
<listitem><para>&perl-libc-patch;</para></listitem>
|
||||||
<listitem><para>&mktemp-tempfile-patch;</para></listitem>
|
<listitem><para>&mktemp-tempfile-patch;</para></listitem>
|
||||||
|
<listitem><para>&util-linux-reiser_crash-patch;</para></listitem>
|
||||||
<listitem><para>&vim-security_fix-patch;</para></listitem>
|
<listitem><para>&vim-security_fix-patch;</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -114,6 +115,11 @@ First a summary, then a detailed log.</para>
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem><para>September 4, 2005 [matt]: Add patch to stop
|
||||||
|
<command>cfdisk</command> segfaulting when invoked on devices with partitions
|
||||||
|
that don't contain an e2fs, xfs or jfs filesystem (see bug 1604)</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem><para>September 4, 2005 [matt]: Upgrade to libtool-1.5.20</para>
|
<listitem><para>September 4, 2005 [matt]: Upgrade to libtool-1.5.20</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
@ -155,6 +155,12 @@ needed to build an LFS system:</para>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>Util-linux Reiser Crash Patch - 2 KB:</term> <listitem>
|
||||||
|
<para><ulink url="&patches-root;&util-linux-reiser_crash-patch;"/></para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Vim Security Patch - 9 KB:</term><listitem>
|
<term>Vim Security Patch - 9 KB:</term><listitem>
|
||||||
<para><ulink url="&patches-root;&vim-security_fix-patch;"/></para>
|
<para><ulink url="&patches-root;&vim-security_fix-patch;"/></para>
|
||||||
|
@ -53,6 +53,14 @@ The following patch properly fixes this issue:</para>
|
|||||||
|
|
||||||
<screen><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen>
|
<screen><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen>
|
||||||
|
|
||||||
|
<para><command>cfdisk</command> segfaults if the disk contains a linux partition
|
||||||
|
(type 83) that doesn't have an <systemitem class="filesystem">e2fs</systemitem>,
|
||||||
|
<systemitem class="filesystem">xfs</systemitem> or
|
||||||
|
<systemitem class="filesystem">jfs</systemitem> filesystem on it. Apply the
|
||||||
|
following patch to fix the problem:</para>
|
||||||
|
|
||||||
|
<screen><userinput>patch -Np1 -i ../&util-linux-reiser_crash-patch;</userinput></screen>
|
||||||
|
|
||||||
<para>Prepare Util-linux for compilation:</para>
|
<para>Prepare Util-linux for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput>./configure</userinput></screen>
|
<screen><userinput>./configure</userinput></screen>
|
||||||
|
@ -36,4 +36,6 @@
|
|||||||
|
|
||||||
<!ENTITY util-linux-cramfs-patch "util-linux-&util-linux-version;-cramfs-1.patch">
|
<!ENTITY util-linux-cramfs-patch "util-linux-&util-linux-version;-cramfs-1.patch">
|
||||||
|
|
||||||
|
<!ENTITY util-linux-reiser_crash-patch "util-linux-&util-linux-version;-reiser_crash-2.patch">
|
||||||
|
|
||||||
<!ENTITY vim-security_fix-patch "vim-&vim-version;-security_fix-2.patch">
|
<!ENTITY vim-security_fix-patch "vim-&vim-version;-security_fix-2.patch">
|
||||||
|
Loading…
Reference in New Issue
Block a user