summaryrefslogtreecommitdiffstats
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-23 09:52:59 +0100
commit56248899824a196e0dd7add42d0a00f0c32cc342 (patch)
treea216711e93dbc9ceaf91b785590dcc4aa16419cd /meta/classes/package.bbclass
parentd6e40e80d178e5b1e8e63d4c65439ec114eb5d0b (diff)
downloadpoky-56248899824a196e0dd7add42d0a00f0c32cc342.tar.gz
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 (From OE-Core rev: 32412ac530bcf286980a6f9c7367df4944dd603a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 () {
1146 else: 1146 else:
1147 for f in unshipped: 1147 for f in unshipped:
1148 msg = msg + "\n " + f 1148 msg = msg + "\n " + f
1149 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." 1149 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"
1150 msg = msg + "%s: %d installed and not shipped files." % (pn, len(unshipped))
1150 package_qa_handle_error("installed-vs-shipped", msg, d) 1151 package_qa_handle_error("installed-vs-shipped", msg, d)
1151} 1152}
1152populate_packages[dirs] = "${D}" 1153populate_packages[dirs] = "${D}"