[oe-commits] [openembedded-core] 03/03: package: Make empty package warning fatal
git at git.openembedded.org
git at git.openembedded.org
Tue Nov 19 23:12:49 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 229ef4ad85a9eeb2fae9ca7733adfd604db6fbe8
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Nov 19 23:11:44 2019 +0000
package: Make empty package warning fatal
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/package.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 8348d67..d9fc9d5 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -649,7 +649,7 @@ python perform_packagecopy () {
dvar = d.getVar('PKGD')
if not len(os.listdir(dest) )and not d.getVar("NOPACKAGEDFILES"):
- bb.warn("Recipe %s has no installed files, nothing to package? Set NOPACKAGEDFILES if this is correct to avoid this warning." % d.getVar("PN"))
+ bb.fatal("Recipe %s has no installed files, nothing to package? Set NOPACKAGEDFILES if this is correct to avoid this warning." % d.getVar("PN"))
# Start by package population by taking a copy of the installed
# files to operate on
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list