Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/3] package.bbclass: add summary line to installed-vs-shipped QA check
Date: Fri, 18 Sep 2015 15:14:09 +0200	[thread overview]
Message-ID: <1442582049-12108-3-git-send-email-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <1442582049-12108-1-git-send-email-Martin.Jansa@gmail.com>

* 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>
---
 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}"
-- 
2.5.1



  parent reply	other threads:[~2015-09-18 13:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-18 11:54 State of bitbake world, Failed tasks 2015-09-13 Martin Jansa
2015-09-18 13:14 ` [PATCH 1/3] insane.bbclass: show PN and relative path in package_qa_check_host_user Martin Jansa
2015-09-18 13:14   ` [PATCH 2/3] insane.bbclass: drop extra line-feed in pkgname check Martin Jansa
2015-09-18 13:14   ` Martin Jansa [this message]
2015-09-18 19:29     ` [PATCH 3/3] package.bbclass: add summary line to installed-vs-shipped QA check Christopher Larson
2015-09-18 13:41   ` [PATCH 1/3] insane.bbclass: show PN and relative path in package_qa_check_host_user Mike Looijmans
2015-09-18 15:13     ` Martin Jansa
2015-09-18 15:15     ` [PATCHv2 " Martin Jansa
2015-09-18 18:22 ` State of bitbake world, Failed tasks 2015-09-13 akuster808
2015-09-23 11:39 ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442582049-12108-3-git-send-email-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox