]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: add summary line to installed-vs-shipped QA check
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 18 Sep 2015 13:14:09 +0000 (15:14 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Sep 2015 14:39:32 +0000 (15:39 +0100)
* there is PN at the beginning, then possibly long list of files and
  at the end we don't see which recipe has this issue, add another
  line which says which PN and how many files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/package.bbclass

index cd92beb394a5b1966e23206a9448ae56ba03ba41..09230b5bb916999b2530c99f87de68a676cf3ae7 100644 (file)
@@ -1146,7 +1146,8 @@ python populate_packages () {
         else:
             for f in unshipped:
                 msg = msg + "\n  " + f
-            msg = msg + "\nPlease set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install."
+            msg = msg + "\nPlease set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.\n"
+            msg = msg + "%s: %d installed and not shipped files." % (pn, len(unshipped))
             package_qa_handle_error("installed-vs-shipped", msg, d)
 }
 populate_packages[dirs] = "${D}"