diff options
Diffstat (limited to 'scripts/lib/devtool/deploy.py')
-rw-r--r-- | scripts/lib/devtool/deploy.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index fa93adf181..41b666ff96 100644 --- a/scripts/lib/devtool/deploy.py +++ b/scripts/lib/devtool/deploy.py | |||
@@ -19,7 +19,7 @@ | |||
19 | import os | 19 | import os |
20 | import subprocess | 20 | import subprocess |
21 | import logging | 21 | import logging |
22 | from devtool import exec_fakeroot, setup_tinfoil, DevtoolError | 22 | from devtool import exec_fakeroot, setup_tinfoil, check_workspace_recipe, DevtoolError |
23 | 23 | ||
24 | logger = logging.getLogger('devtool') | 24 | logger = logging.getLogger('devtool') |
25 | 25 | ||
@@ -28,9 +28,8 @@ def deploy(args, config, basepath, workspace): | |||
28 | import re | 28 | import re |
29 | import oe.recipeutils | 29 | import oe.recipeutils |
30 | 30 | ||
31 | if not args.recipename in workspace: | 31 | check_workspace_recipe(workspace, args.recipename, checksrc=False) |
32 | raise DevtoolError("no recipe named %s in your workspace" % | 32 | |
33 | args.recipename) | ||
34 | try: | 33 | try: |
35 | host, destdir = args.target.split(':') | 34 | host, destdir = args.target.split(':') |
36 | except ValueError: | 35 | except ValueError: |