]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: fix success message when config file was updated
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 17 Mar 2016 16:00:56 +0000 (17:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Mar 2016 22:57:57 +0000 (22:57 +0000)
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@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sanity.bbclass

index 334e3626323cdb4d15547c8f8ba4087ba5225d12..2539bd8c1bf48bde8b1d8ca929bf9edd88f562ca 100644 (file)
@@ -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):