mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
fitimage.bbclass: fail early for unsupported image types
A given image type should be valid. Thus fail early here instead of randomly failing later during mkimage call. Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
This commit is contained in:
@@ -455,6 +455,8 @@ python write_manifest() {
|
||||
imgpath = d.getVar("DEPLOY_DIR_IMAGE")
|
||||
bootscriptid = imgsource
|
||||
fitimage_emit_section_bootscript(d, fd, imgpath, imgsource)
|
||||
else:
|
||||
bb.fatal(f"Unsupported image type: '{imgtype}'")
|
||||
fitimage_emit_section_end(d, fd)
|
||||
#
|
||||
# Step 5: Prepare a configurations section
|
||||
|
||||
Reference in New Issue
Block a user