Re: miboot-floppies (powerpc oldworld) for sarge
On Fri, Dec 15, 2006 at 11:21:53PM +0100, Holger Levsen wrote:
> On Friday 15 December 2006 21:37, Sven Luther wrote:
> > Notice that the 2.6 sarge d-i image had a bug which was later fixed in the
> > etch/sid version. It has to do with calling mkvmlinuz i think, instead of
> > simply gzipping it by hand.
> > Holger, can you backport the little change from the sid branch, this should
> > fix it.
> But why? People can install with 2.4 just fine and then later upgrade to 2.6,
> so why do the work and backport it?
> The CDs work fine with 2.6, don't they? It's only the miboot floppies, isn't
And this time with the patch ...
--- config/powerpc/powerpc/floppy.cfg (révision 30690)
+++ config/powerpc/powerpc/floppy.cfg (révision 30691)
@@ -6,7 +6,9 @@
WRITE_MEDIA += $(FLAVOUR_SUPPORTED)
- mkvmlinuz -a miboot -k $(TEMP_KERNEL) -n -d $(TEMP)/lib -o $(TEMP_KERNEL).gz
+ #mkvmlinuz -a miboot -k $(TEMP_KERNEL) -n -d $(TEMP)/lib -o $(TEMP_KERNEL).gz
+ # Let's do it the good old fashioned way.
+ gzip -c -9 $(TEMP_KERNEL) >$(TEMP_KERNEL).gz
dd if=/dev/zero of=$@ bs=1024 count=$(FLOPPY_SIZE)