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

Re: ppc and m68k images getting too big

On Thu, Jul 08, 2004 at 10:41:05PM +0200, Santiago Garcia Mantinan wrote:
>>Hmmm. It looks like the HFS hybrid stuff on ppc/m68k makes the images
>>too large if I don't tweak the image sizes substantially. On a
>>DVD-sized image I'm going ~300MB too big, which is a bit of a
>>problem. Is anybody else seeing this? Manty?
>Sorry it took me so long to reply, I seem to be lacking the avility to find
>free time lately.
>Yes, I'm seing differences in sizes in powerpc and m68k cds, right now my
>script to build cds at gluck says this:
>if [ ! "$SIZELIMIT1" ]
>  case "$ARCH" in
>    i386)    export SIZELIMIT1=650000000;;
>    ia64)    export SIZELIMIT1=650000000;;
>    m68k)    export SIZELIMIT1=637000000;;
>    powerpc) export SIZELIMIT1=577000000;;
>    *)       export SIZELIMIT1=657000000;;
>  esac
>if [ ! "$SIZELIMIT" ]
>  case "$ARCH" in
>    m68k) export SIZELIMIT=640000000;;
>    *)    export SIZELIMIT=670000000;;
>  esac
>This were just adjustments I did having a look at the resulting sizes of the
>For what I see m68k is bigger in every cd, but powerpc isn't, the
>differences in the first cd sizes could be due to the stuff put on the cd by
>d-i (kernels, images, ...)
>I think this can be handled using the .calc files in debian-cd, but I have
>never used that, anybody can enlighten us?

You just set BOOT_SIZE_x=y in the .calc files, where y is the number
of MB to reserve to allow for this expansion. Unfortunately, it's not
very useful for CDs and DVDs from the same config here as the two will
be very differently sized. I'm testing a patch right now to reserve a
percentage of the disk rather than a fixed number of MB.

I want to get this fixed before I branch debian-cd with JTE support...

Steve McIntyre, Cambridge, UK.                                steve@einval.com
Can't keep my eyes from the circling sky,
Tongue-tied & twisted, Just an earth-bound misfit, I...

Attachment: signature.asc
Description: Digital signature

Reply to: