mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-23 00:28:29 +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")
|
imgpath = d.getVar("DEPLOY_DIR_IMAGE")
|
||||||
bootscriptid = imgsource
|
bootscriptid = imgsource
|
||||||
fitimage_emit_section_bootscript(d, fd, imgpath, imgsource)
|
fitimage_emit_section_bootscript(d, fd, imgpath, imgsource)
|
||||||
|
else:
|
||||||
|
bb.fatal(f"Unsupported image type: '{imgtype}'")
|
||||||
fitimage_emit_section_end(d, fd)
|
fitimage_emit_section_end(d, fd)
|
||||||
#
|
#
|
||||||
# Step 5: Prepare a configurations section
|
# Step 5: Prepare a configurations section
|
||||||
|
|||||||
Reference in New Issue
Block a user