diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index d94d32f72a..e6856cdf87 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -988,9 +988,13 @@ python populate_packages () { | |||
988 | unshipped.append(path) | 988 | unshipped.append(path) |
989 | 989 | ||
990 | if unshipped != []: | 990 | if unshipped != []: |
991 | bb.warn("For recipe %s, the following files/directories were installed but not shipped in any package:" % pn) | 991 | msg = pn + ": Files/directories were installed but not shipped" |
992 | for f in unshipped: | 992 | if "installed_vs_shipped" in (d.getVar('INSANE_SKIP_' + pn, True) or "").split(): |
993 | bb.warn(" " + f) | 993 | bb.note("Package %s skipping QA tests: installed_vs_shipped" % pn) |
994 | else: | ||
995 | for f in unshipped: | ||
996 | msg = msg + "\n " + f | ||
997 | package_qa_handle_error("installed_vs_shipped", msg, d) | ||
994 | 998 | ||
995 | bb.build.exec_func("package_name_hook", d) | 999 | bb.build.exec_func("package_name_hook", d) |
996 | 1000 | ||