debian-cd-clone/tools/boot
Philipp Hahn 1a15968a7a Fix size calculation for EFI image
CD creation fails with "disk full", because of rounding errors.

The minimum size of data-allocation is a 'cluster', which is a
power-of-two multiple of sectors.
mkfs.msdos chooses minimum FAT and cluster size for image: FAT12<16G
mkfs.msdos uses block-count where a block is 1024 B, but must be rounded
up to track_size with 32 sectors.

Round up each file to clusters before summing.
A sub-directory entry needs 1 cluster minimum.
2016-04-19 22:09:24 +00:00
..
jessie Fix size calculation for EFI image 2016-04-19 22:09:24 +00:00
stretch Fix size calculation for EFI image 2016-04-19 22:09:24 +00:00
wheezy Fix size calculation for EFI image 2016-04-19 22:09:24 +00:00
sid Make 'sid' use stretch data etc. 2015-04-28 13:30:35 +01:00