From f03615045404eee1718f709cea87c0fd8ae6bbbe Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sun, 4 Sep 2005 12:05:56 +0000 Subject: [PATCH] Patch util-linux to stop cfdisk from segfaulting git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6809 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 6 ++++++ chapter03/patches.xml | 6 ++++++ chapter06/util-linux.xml | 8 ++++++++ patches.ent | 2 ++ 4 files changed, 22 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index e97d7413c..ab3087551 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -95,6 +95,7 @@ First a summary, then a detailed log. &glibc-testfix-patch; &perl-libc-patch; &mktemp-tempfile-patch; +&util-linux-reiser_crash-patch; &vim-security_fix-patch; @@ -114,6 +115,11 @@ First a summary, then a detailed log. +September 4, 2005 [matt]: Add patch to stop +cfdisk segfaulting when invoked on devices with partitions +that don't contain an e2fs, xfs or jfs filesystem (see bug 1604) + + September 4, 2005 [matt]: Upgrade to libtool-1.5.20 diff --git a/chapter03/patches.xml b/chapter03/patches.xml index a12cedfe6..ed3b7bedc 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -155,6 +155,12 @@ needed to build an LFS system: + +Util-linux Reiser Crash Patch - 2 KB: + + + + Vim Security Patch - 9 KB: diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index eee00c416..dd5af25e6 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -53,6 +53,14 @@ The following patch properly fixes this issue: patch -Np1 -i ../&util-linux-cramfs-patch; +cfdisk segfaults if the disk contains a linux partition +(type 83) that doesn't have an e2fs, +xfs or +jfs filesystem on it. Apply the +following patch to fix the problem: + +patch -Np1 -i ../&util-linux-reiser_crash-patch; + Prepare Util-linux for compilation: ./configure diff --git a/patches.ent b/patches.ent index 4f344f3e1..b92caee5d 100644 --- a/patches.ent +++ b/patches.ent @@ -36,4 +36,6 @@ + +