[OE-core] [PATCH 2/3] sanity.bbclass: fix success message when config file was updated

Patrick Ohly patrick.ohly at intel.com
Thu Mar 17 16:00:56 UTC 2016


The code now iterates over different config files, but always printed a
message about conf/bblayers.conf for each file.

Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
 meta/classes/sanity.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 334e362..2539bd8 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -559,7 +559,7 @@ def sanity_check_conffiles(status, d):
                 success = False
                 status.addresult(e.msg)
             if success:
-                bb.note("Your conf/bblayers.conf has been automatically updated.")
+                bb.note("Your %s file has been automatically updated." % conffile)
                 status.reparse = True
 
 def sanity_handle_abichanges(status, d):
-- 
2.1.4




More information about the Openembedded-core mailing list