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-hd: fix partition handling #24

Closed michaelolbrich closed 6 years ago

michaelolbrich commented 6 years ago

With no extended partition 'hd->extended_partition' is zero. As a result 'has_extended' is set incorrectly. The extended partition number is now defined explicitly so we can use it to define 'has_extended'.

Fixes: c17203afa2d6 ("image-hd: set the position of extended partition") Signed-off-by: Michael Olbrich m.olbrich@pengutronix.de