summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-09-18 15:14:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-21 15:39:32 +0100
commit32412ac530bcf286980a6f9c7367df4944dd603a (patch)
tree72747297b102a07462d24266c0857b4852cfcd51 /meta/classes/package.bbclass
parent71d7803e5b13e26fd8001e87cfbac68114ddaa30 (diff)
downloadopenembedded-core-32412ac530bcf286980a6f9c7367df4944dd603a.tar.gz
openembedded-core-32412ac530bcf286980a6f9c7367df4944dd603a.tar.bz2
openembedded-core-32412ac530bcf286980a6f9c7367df4944dd603a.zip
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@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index cd92beb394..09230b5bb9 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}"