From c695a2324f83ff166f092f232ee0cef785f08ba1 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 25 Sep 2012 16:25:28 +0100 Subject: [PATCH] bitbake: cooker: adjust layer dependency error messages Make these a little easier to understand. (Bitbake rev: 84ab874c8818484d37ee438aab27486fff497705) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index b281cd0..7ca1ffd 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -939,13 +939,13 @@ class BBCooker: errors = True continue if lver <> depver: - parselog.error("Layer dependency %s of layer %s is at version %d, expected %d", dep, c, lver, depver) + parselog.error("Layer '%s' depends on version %d of layer '%s', but version %d is enabled in your configuration", c, depver, dep, lver) errors = True else: - parselog.error("Layer dependency %s of layer %s has no version, expected %d", dep, c, depver) + 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) errors = True else: - parselog.error("Layer dependency %s of layer %s not found", dep, c) + parselog.error("Layer '%s' depends on layer '%s', but this layer is not enabled in your configuration", c, dep) errors = True collection_depends[c] = depnamelist else: -- 2.7.4