This allows to break the build for image-configurations when
there's an inconstency in the YAML definitions in the meta-<profile> package
Change-Id: I76f0f4554ca23494b79d82cfc3498dfb23eead74
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
postscript += "\n"
f.close()
else:
- print '%s/scripts/%s.post not found, skipping.' %(meta_root,scr )
+ raise KSMetaError('%s/scripts/%s.post not found, aborting.' %(meta_root,scr ))
nochrootscript = ""
for scr in conf['NoChrootScripts']:
nochrootscript += "\n"
f.close()
else:
- print '%s/scripts/%s.nochroot not found, skipping.' %(meta_root, scr )
+ raise KSMetaError('%s/scripts/%s.nochroot not found, aborting.' %(meta_root, scr ))
ptab = ""
for g in [ plat, img ]: