diff options
author | Stephane Desneux <stephane.desneux@open.eurogiciel.org> | 2014-08-05 19:47:01 +0200 |
---|---|---|
committer | Stéphane Desneux (sdx) <stephane.desneux@open.eurogiciel.org> | 2014-08-07 07:02:28 -0700 |
commit | e9403a6c80ccafe3066558fbbac73e8b64d03278 (patch) | |
tree | 9328ed6ab939988efa58fecf9f7fcd69352aa001 | |
parent | 93a97b9c8438a1c55aac053422d8aee333f218b9 (diff) | |
download | kickstarter-tizen_3.0.m2.a1_mobile_release.tar.gz kickstarter-tizen_3.0.m2.a1_mobile_release.tar.bz2 kickstarter-tizen_3.0.m2.a1_mobile_release.zip |
Raise an error when a script is specified and not foundtizen_3.0_ivi_releasetizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20160217.000005submit/tizen_ivi/20160217.000000submit/tizen_ivi/20140825.000000submit/tizen_ivi/20140822.000000submit/tizen_ivi/20140820.000000submit/tizen_ivi/20140818.000002submit/tizen_ivi/20140818.000001submit/tizen_ivi/20140818.000000submit/tizen_common/20140812.170532submit/tizen_common/20140812.151815submit/tizen_common/20140812.150926accepted/tizen/ivi/20160218.024901accepted/tizen/common/20140812.175515tizen_3.0_ivitizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.m14.3_ivitizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_common
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>
-rw-r--r-- | kswriter/KSWriter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kswriter/KSWriter.py b/kswriter/KSWriter.py index 12ba899..3117bae 100644 --- a/kswriter/KSWriter.py +++ b/kswriter/KSWriter.py @@ -113,7 +113,7 @@ class KSWriter(): 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']: @@ -123,7 +123,7 @@ class KSWriter(): 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 ]: |