diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-09-25 16:25:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-27 16:45:27 +0100 |
commit | 31f0de42fc993034f144d0b3c0e123d83a9be290 (patch) | |
tree | e3a4024467cac3244f8da9c31edeccfcdc5b7be2 | |
parent | bc90dedc3a0ad0862ba09562a530dbdd2554d7d0 (diff) | |
download | poky-31f0de42fc993034f144d0b3c0e123d83a9be290.tar.gz |
bitbake: cooker: adjust layer dependency error messages
Make these a little easier to understand.
(Bitbake rev: 84ab874c8818484d37ee438aab27486fff497705)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/cooker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index b281cd03ae..7ca1ffdd94 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -939,13 +939,13 @@ class BBCooker: | |||
939 | errors = True | 939 | errors = True |
940 | continue | 940 | continue |
941 | if lver <> depver: | 941 | if lver <> depver: |
942 | parselog.error("Layer dependency %s of layer %s is at version %d, expected %d", dep, c, lver, depver) | 942 | parselog.error("Layer '%s' depends on version %d of layer '%s', but version %d is enabled in your configuration", c, depver, dep, lver) |
943 | errors = True | 943 | errors = True |
944 | else: | 944 | else: |
945 | parselog.error("Layer dependency %s of layer %s has no version, expected %d", dep, c, depver) | 945 | parselog.error("Layer '%s' depends on version %d of layer '%s', which exists in your configuration but does not specify a version", c, depver, dep) |
946 | errors = True | 946 | errors = True |
947 | else: | 947 | else: |
948 | parselog.error("Layer dependency %s of layer %s not found", dep, c) | 948 | parselog.error("Layer '%s' depends on layer '%s', but this layer is not enabled in your configuration", c, dep) |
949 | errors = True | 949 | errors = True |
950 | collection_depends[c] = depnamelist | 950 | collection_depends[c] = depnamelist |
951 | else: | 951 | else: |