Fix USB image corruption issues
Fixes FS#10614
sfdisk and the kernel cannot accurately detect
disk geometry from the disk image file, causing
automatic partition size calculations to fail.
The whole partition table is now calculated
in mkusbimg rather than letting sfdisk do it.
mkusbimg doesn't directly use losetup anymore
either, eliminating some code.
This also fixes issues with needing to make the
partition much larger than necessary, so image
size has been minimized.
Signed-off-by: Simo Leone <simo@archlinux.org>
0 files changed, 0 insertions, 0 deletions