diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/devtool/standard.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 8dfd538332..9511d5618c 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -1479,6 +1479,7 @@ def finish(args, config, basepath, workspace): | |||
1479 | 1479 | ||
1480 | check_workspace_recipe(workspace, args.recipename) | 1480 | check_workspace_recipe(workspace, args.recipename) |
1481 | 1481 | ||
1482 | no_clean = False | ||
1482 | tinfoil = setup_tinfoil(basepath=basepath, tracking=True) | 1483 | tinfoil = setup_tinfoil(basepath=basepath, tracking=True) |
1483 | try: | 1484 | try: |
1484 | rd = parse_recipe(config, tinfoil, args.recipename, True) | 1485 | rd = parse_recipe(config, tinfoil, args.recipename, True) |
@@ -1540,6 +1541,7 @@ def finish(args, config, basepath, workspace): | |||
1540 | if origlayerdir == config.workspace_path and destpath: | 1541 | if origlayerdir == config.workspace_path and destpath: |
1541 | # Recipe file itself is in the workspace - need to move it and any | 1542 | # Recipe file itself is in the workspace - need to move it and any |
1542 | # associated files to the specified layer | 1543 | # associated files to the specified layer |
1544 | no_clean = True | ||
1543 | logger.info('Moving recipe file to %s' % destpath) | 1545 | logger.info('Moving recipe file to %s' % destpath) |
1544 | recipedir = os.path.dirname(rd.getVar('FILE', True)) | 1546 | recipedir = os.path.dirname(rd.getVar('FILE', True)) |
1545 | for root, _, files in os.walk(recipedir): | 1547 | for root, _, files in os.walk(recipedir): |
@@ -1554,7 +1556,7 @@ def finish(args, config, basepath, workspace): | |||
1554 | tinfoil.shutdown() | 1556 | tinfoil.shutdown() |
1555 | 1557 | ||
1556 | # Everything else has succeeded, we can now reset | 1558 | # Everything else has succeeded, we can now reset |
1557 | _reset([args.recipename], no_clean=False, config=config, basepath=basepath, workspace=workspace) | 1559 | _reset([args.recipename], no_clean=no_clean, config=config, basepath=basepath, workspace=workspace) |
1558 | 1560 | ||
1559 | return 0 | 1561 | return 0 |
1560 | 1562 | ||