[OE-core] [PATCH 17/17] package.bbclass: make unshipped files a fatal error
Dmitry Eremin-Solenikov
dbaryshkov at gmail.com
Wed Sep 21 18:40:04 UTC 2011
I belive that "files were installed but not shipped in any package"
message should become a fatal error. While it's true that sometimes some
files are generated by do_install task, which aren't necessary for our
target systems. However in generic I think this is a very important and
usually overlooked QA sign. E.g. recently I've found/fixed some bugs in
eglibc packaging only due to making this a fatal error. Sometimes new
versions of a software add new files, but then they are sometimes
ignored, as this messages can be easily missed. You can come with more
examples if you'd like to.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
meta/classes/package.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index a9c510d..f4a535e 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -948,6 +948,7 @@ python populate_packages () {
bb.warn("For recipe %s, the following files were installed but not shipped in any package:" % pn)
for f in unshipped:
bb.warn(" " + f)
+ bb.fatal("Unshipped files found")
bb.build.exec_func("package_name_hook", d)
--
1.7.2.5
More information about the Openembedded-core
mailing list