pengutronix / genimage

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

image-flash: Pad empty flash partitions to size #102

Closed TobleMiner closed 4 years ago

TobleMiner commented 4 years ago

According to the documentation a flash image is

the partition contents padded to the partition sizes concatenated together

Currently empty partitions are not padded to size, resulting in overall size not equal to the sum of all partition sizes if the last partition is empty.