summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-12-15 12:22:16 -0700
committerMatthew Wilcox <willy@parisc-linux.org>2006-12-15 12:22:16 -0700
commit90ea1b2c770330c0948ccb3b56ab46dcf05470a7 (patch)
tree97e09ac7906ee1790c5c4506b50746c55f95f444
parent7c86a16a879712753a382ade32cebac16b19bd8f (diff)
downloadpalo-90ea1b2c770330c0948ccb3b56ab46dcf05470a7.tar.gz
There's currently an artificial limit of 20MB on the size of a lifimage.
Increase it to 800MB (the same as allowed for a CD-ROM) so we can boot kernels with grotesque amounts of debug data in them.
-rw-r--r--debian/changelog4
-rw-r--r--palo/palo.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 2d75917..0291e74 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ palo (1.15) UNRELEASED; urgency=low
[Kyle McMartin]
* Make the -U on an unformatted volume message slightly more helpful.
+ [Matthew Wilcox]
+ * Increase allowed size from 20MB to 800MB when creating lifimage files
+ to be netbooted.
+
-- Kyle McMartin <kyle@debian.org> Tue, 20 Jun 2006 15:12:19 -0400
palo (1.14) unstable; urgency=low
diff --git a/palo/palo.c b/palo/palo.c
index a7ee37c..7ae2f81 100644
--- a/palo/palo.c
+++ b/palo/palo.c
@@ -271,7 +271,7 @@ do_sequential(int media, int kernel32, int kernel64,
struct firstblock f;
/* always load IPL at second 2k block on sequential media */
int where = 1 * FW_BLOCKSIZE;
- unsigned end = 20 * 1024 * 1024;
+ unsigned end = 800 * 1024 * 1024;
/* must have a boot loader for initialization */
assert(bootloader != -1);