pengutronix / genimage

tool to generate multiple filesystem and flash images from a tree
GNU General Public License v2.0
305 stars 110 forks source link

image-hd: improve offset handling for images without partition table #194

Closed michaelolbrich closed 2 years ago

michaelolbrich commented 2 years ago

For images without partition table, allow the image to provide a default alignment with possible overrides for each 'partition'. And calculate the offset automatically if set to zero. Basically the same as regular partitions in an image with partition table. But use a default alignment of 1.

Fixes: #180