diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-17 21:39:51 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-18 11:41:44 +0000 |
commit | 9f5e04a04bc0bbafc8ba7a6938ae4d842c744cfd (patch) | |
tree | 2eba1744e9c68a7891d3a71186099bc2ee669622 | |
parent | dbd66fc8080eacd6c20df9d6528a929b9070fe35 (diff) | |
download | ast2050-yocto-poky-9f5e04a04bc0bbafc8ba7a6938ae4d842c744cfd.zip ast2050-yocto-poky-9f5e04a04bc0bbafc8ba7a6938ae4d842c744cfd.tar.gz |
taskdata.py: Improve error message if a task dependency has an incorrect format
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/taskdata.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py index 45f6902..976e0ca 100644 --- a/bitbake/lib/bb/taskdata.py +++ b/bitbake/lib/bb/taskdata.py @@ -161,6 +161,8 @@ class TaskData: ids = [] for dep in task_deps['depends'][task].split(): if dep: + if ":" not in dep: + bb.msg.fatal(bb.msg.domain.TaskData, "Error, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'" % (depend, fn)) ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1])) self.tasks_idepends[taskid].extend(ids) |