2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-26 19:29:03 +00:00

Expand buffer size for recieving install image

This commit is contained in:
zhanx 2009-03-31 09:19:32 +00:00
parent a8a0c930be
commit ae6807f2f0
2 changed files with 15 additions and 2 deletions

View File

@ -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;

View File

@ -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