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

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



package: debian-installer
version: 20110106
severity: important
tags: patch

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.

Best wishes,
Mike

$ cd build && USE_UDEBS_FROM=unstable make build_netboot
geniso_hybrid_plus_firmware_partition ./tmp/netboot/mini.iso
mkfs.msdos 3.0.9 (31 Jan 2010)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4, default 2): First sector (24576-36863, default 24576): Using default value 24576
Last sector, +sectors or +size{K,M,G} (24576-36863, default 36863): Value out of range.
Last sector, +sectors or +size{K,M,G} (24576-36863, default 36863): Last sector, +sectors or +size{K,M,G} (24576-36863, default 36863): Value out of range.
Last sector, +sectors or +size{K,M,G} (24576-36863, default 36863): Value out of range.
Last sector, +sectors or +size{K,M,G} (24576-36863, default 36863): Last sector, +sectors or +size{K,M,G} (24576-36863, default 36863): 
make[2]: *** [arch_miniiso] Error 1
make[1]: *** [_build] Error 2
make: *** [build_netboot] Error 2
--- 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
 
 # Pedantically, set partition type to 1: FAT 16
 echo t

Reply to: