From: Martin Jansa Date: Fri, 18 Sep 2015 13:14:09 +0000 (+0200) Subject: package.bbclass: add summary line to installed-vs-shipped QA check X-Git-Tag: 2015-10~364 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=32412ac530bcf286980a6f9c7367df4944dd603a;p=openembedded-core.git 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 Signed-off-by: Ross Burton --- 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}"