From ae6807f2f0880882d81c8d33c34d3fcc3bec4d8a Mon Sep 17 00:00:00 2001 From: zhanx Date: Tue, 31 Mar 2009 09:19:32 +0000 Subject: [PATCH] Expand buffer size for recieving install image --- yaboot/yaboot-buf-expand.patch | 11 +++++++++++ yaboot/yaboot-xcat.spec | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 yaboot/yaboot-buf-expand.patch diff --git a/yaboot/yaboot-buf-expand.patch b/yaboot/yaboot-buf-expand.patch new file mode 100644 index 0000000..0400ce3 --- /dev/null +++ b/yaboot/yaboot-buf-expand.patch @@ -0,0 +1,11 @@ +--- yaboot-1.3.14/second/fs_xfs.c 2007-08-17 10:29:26.000000000 -0400 ++++ yaboot-1.3.14-fixes/second/fs_xfs.c 2009-03-31 06:03:51.000000000 -0400 +@@ -53,7 +53,7 @@ + }; + + struct boot_file_t *xfs_file; +-static char FSYS_BUF[32768]; ++static char FSYS_BUF[32768*2]; + uint64_t partition_offset; + int errnum; + diff --git a/yaboot/yaboot-xcat.spec b/yaboot/yaboot-xcat.spec index 1423ba9..e5b1856 100644 --- a/yaboot/yaboot-xcat.spec +++ b/yaboot/yaboot-xcat.spec @@ -9,7 +9,8 @@ Group: System/Administration License: GPL2 URL: http://yaboot.ozlabs.org/ Source: http://yaboot.ozlabs.org/releases/yaboot-1.3.14.tar.gz -Patch: yaboot-fixes.patch +Patch0: yaboot-fixes.patch +Patch1: yaboot-buf-expand.patch BuildRoot: %{_tmppath}/%{pkg}-buildroot Prefix: %{_prefix} BuildArch: noarch @@ -22,7 +23,8 @@ ppc nodes. %prep %{__rm} -rf %{buildroot} %setup -q -n yaboot-%{ver} -%patch -p1 +%patch0 -p1 +%patch1 -p1 %build