[oe-commits] [openembedded-core] 01/01: HACK - Debugging package: Make empty package warning fatal
git at git.openembedded.org
git at git.openembedded.org
Wed Nov 20 10:02:05 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 348f694579875e0f800ab3f30b1fa19fbc5e5e2c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Nov 19 23:11:44 2019 +0000
HACK - Debugging 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