mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
62eba951c7
commit
69dbad5529
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user