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

Bug#642183: debian-installer: hybrid iso sizing issue for unstable build



Michael Gilbert wrote:
> d-i fails to build unstable x86 netboot images (see below), which
> will become a problem as d-i development moves forward with newer
> kernels/packages coming in from unstable.  I've attached a patch
> that fixes this by using the default last sector for the msdos
> partition instead of a size offset.  This certainly works, but I'm
> not sure if its an ideal solution.

> --- util/geniso_hybrid_plus_firmware_partition.orig	2011-09-19 23:27:56.000000000 -0400
> +++ util/geniso_hybrid_plus_firmware_partition	2011-09-19 23:28:06.000000000 -0400
> @@ -49,7 +49,7 @@
>  echo p
>  echo 2
>  echo 
> -echo +"$firmware_volume_size_M"M
> +echo

Yes, I already did this in git.

commit 8637c24c8759b6dee54ec53670117d896c4fec3e
Author: Joey Hess <joey@kitenet.net>
Date:   Wed Jun 22 13:09:26 2011 -0400

    let fdisk choose end sector for piggyback partition
    
    Forcing fdisk to use +5M sometimes fails, probably due to some imprecision
    in calculating the size (perhaps it thinks we're talking mibibytes?) There
    is an easy fix for this, just let fsck choose the size on its own; it will
    use the entire free space in the iso for its partition.

There's really not much point trying to rebuild the version of d-i in unstable.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: