From 56248899824a196e0dd7add42d0a00f0c32cc342 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 18 Sep 2015 15:14:09 +0200 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/package.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/classes/package.bbclass') 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}" -- cgit v1.2.3-54-g00ecf