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-flash: don't ignore truncate errors except ENOENT #167

Closed michaelolbrich closed 2 years ago

michaelolbrich commented 2 years ago

The file will be created, so a non-existent file at this point is fine. But all other errors should abort the image generation.

Signed-off-by: Michael Olbrich m.olbrich@pengutronix.de