[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: miboot-floppies (powerpc oldworld) for sarge



On Fri, Dec 15, 2006 at 11:21:53PM +0100, Holger Levsen wrote:
> Hi, 
> 
> 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?

Because even when using 2.4 floppies, they will install the 2.6.8 kernels, so
it is best to have the same kernel for installation media and reboot kernels.

The change is trivial, please try it :

  File : config/powerpc/powerpc/floppy.cfg
  $(TEMP_KERNEL).gz: $(TEMP_KERNEL)
          #mkvmlinuz -a miboot -r $(KERNELVERSION) -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

you see, you just need to uncomment the mkvmlinuz call, and add the gzip
instead.

I attach the proper fix, but you could get it by :

  svn diff -r30690:30691

Also.

Friendly,

Sven Luther



Reply to: