Hello community,

here is the log from the commit of package lilo for openSUSE:Factory checked in 
at 2013-10-31 09:18:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lilo (Old)
 and      /work/SRC/openSUSE:Factory/.lilo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lilo"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lilo/lilo.changes        2013-07-11 
19:36:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lilo.new/lilo.changes   2013-10-31 
09:18:40.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Oct 30 12:58:04 UTC 2013 - [email protected]
+
+- Use 1024 blocksize for tftp. openSUSE initrd is too big to fit
+  32M limit
+
+-------------------------------------------------------------------

New:
----
  0001-Use-tftp-1M-blocksize.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lilo.spec ++++++
--- /var/tmp/diff_new_pack.diNGsY/_old  2013-10-31 09:18:41.000000000 +0100
+++ /var/tmp/diff_new_pack.diNGsY/_new  2013-10-31 09:18:41.000000000 +0100
@@ -91,6 +91,7 @@
 Patch8611:      lilo.ppc-22.8.opal.patch
 Patch8612:      lilo.ppc-kvm.patch
 Patch8613:      lilo.gcc48.patch
+Patch8614:      0001-Use-tftp-1M-blocksize.patch
 # $Id: lilo.spec 1188 2008-12-09 14:29:53Z olh $
 
 %description
@@ -117,6 +118,7 @@
 popd
 pushd yaboot
 %patch8607 -p1
+%patch8614 -p1
 popd
 pushd lilo.ppc
 %patch8608 -p1

++++++ 0001-Use-tftp-1M-blocksize.patch ++++++
>From 27e4929bbcc2dc8cb71e157cea538e25105d5b64 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <[email protected]>
Date: Wed, 30 Oct 2013 12:42:50 +0100
Subject: [PATCH] Use tftp 1M blocksize.

Fixes large initrds download

Signed-off-by: Dinar Valeev <[email protected]>
---
 second/fs_of.c             | 5 +++--
 second/parse_device_path.c | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/second/fs_of.c b/second/fs_of.c
index e369150..fec765d 100644
--- a/second/fs_of.c
+++ b/second/fs_of.c
@@ -44,8 +44,8 @@
 #include <errors.h>
 #include <debug.h>
 
-#define LOAD_BUFFER_BASE (24*1024*1024)
-#define LOAD_BUFFER_SIZE (24*1024*1024)
+#define LOAD_BUFFER_BASE (64*1024*1024)
+#define LOAD_BUFFER_SIZE (64*1024*1024)
 #define LOAD_BUFFER_TRIES 42
 
 static int of_open(struct boot_file_t *file, const char *dev_name, struct 
partition_t *part, const char *file_name)
@@ -134,6 +134,7 @@ static int of_net_download(unsigned char **buffer, ihandle 
of_device)
                prom_printf("yaboot downloaded %08x bytes via network, download 
rate %d KB/s.\n", ret, ms);
                if (ms > 42 && ms < 666)
                        prom_printf("\n A download rate of %d KB/s is really 
slow, isn't it? \n\n", ms);
+                       prom_release(p, LOAD_BUFFER_SIZE);
 
        } else
                prom_release(p, LOAD_BUFFER_SIZE);
diff --git a/second/parse_device_path.c b/second/parse_device_path.c
index 1ec3a48..38317bd 100644
--- a/second/parse_device_path.c
+++ b/second/parse_device_path.c
@@ -464,7 +464,7 @@ static int get_tftp_ipv4_ibm_CAS(struct path_description 
*path, const char *netd
 
                ipv4_to_ascii(buf, netmask_ipv4);
 
-               sprintf(p1 + i, "%d,%d,%s,%d", bootp_retry, tftp_retry, buf, 
tftp_blocksize);
+               sprintf(p1 + i, "%d,%d,%s,%d", bootp_retry, tftp_retry, buf, 
1024);
 
                path_net_after(path) = p1;
        }
-- 
1.7.12.4

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to