[oe-commits] Martin Jansa : package.bbclass: add summary line to installed-vs-shipped QA check

git at git.openembedded.org git at git.openembedded.org
Wed Sep 23 08:56:01 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 32412ac530bcf286980a6f9c7367df4944dd603a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=32412ac530bcf286980a6f9c7367df4944dd603a

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Fri Sep 18 15:14:09 2015 +0200

package.bbclass: add summary line to installed-vs-shipped QA check

* 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 at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/classes/package.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index cd92beb..09230b5 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -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}"



More information about the Openembedded-commits mailing list