diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-17 01:07:34 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-18 03:31:44 +0530 |
commit | 76a6992dc12ea999c95923bbe322a8f2fbbcee4b (patch) | |
tree | 0eca1b2e73b40a36517d8303c5a072607a16e803 | |
parent | 95529f93eb781957ca923e19de81e0e0be82364d (diff) |
cerbero: Exit after selecting 'shell' on build failure
Previously Cerbero would exit start_cooking() and continue to try and
do packaging, which would fail in a confusing way.
-rw-r--r-- | cerbero/build/oven.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/build/oven.py b/cerbero/build/oven.py index 00da54ea..14ab4870 100644 --- a/cerbero/build/oven.py +++ b/cerbero/build/oven.py @@ -119,7 +119,7 @@ class Oven (object): if action == RecoveryActions.SHELL: shell.enter_build_environment(self.config.target_platform, be.arch, recipe.get_for_arch (be.arch, 'build_dir')) - break + raise be elif action == RecoveryActions.RETRY_ALL: shutil.rmtree(recipe.get_for_arch (be.arch, 'build_dir')) self.cookbook.reset_recipe_status(recipe.name) |