[oe-commits] [bitbake] 01/01: lib/bb/{data, siggen}: Don't warn on SkipRecipe exceptions
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 12 14:22:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository bitbake.
commit edf6e6094a9f7ad4b2ba06eef8fd34756edbedce
Author: Nathan Rossi <nathan at nathanrossi.com>
AuthorDate: Tue Apr 11 23:07:50 2017 +1000
lib/bb/{data, siggen}: Don't warn on SkipRecipe exceptions
Recipes/variables that raise a SkipRecipe exception are intentionally
skipped, and should not generate warnings.
[YOCTO #11319]
Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/data.py | 2 ++
lib/bb/siggen.py | 2 ++
2 files changed, 4 insertions(+)
diff --git a/lib/bb/data.py b/lib/bb/data.py
index 0403754..134afaa 100644
--- a/lib/bb/data.py
+++ b/lib/bb/data.py
@@ -359,6 +359,8 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
deps |= set((vardeps or "").split())
deps -= set(varflags.get("vardepsexclude", "").split())
+ except bb.parse.SkipRecipe:
+ raise
except Exception as e:
bb.warn("Exception during build_dependencies for %s" % key)
raise
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index 25ad3e9..169756e 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -157,6 +157,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
try:
taskdeps = self._build_data(fn, d)
+ except bb.parse.SkipRecipe:
+ raise
except:
bb.warn("Error during finalise of %s" % fn)
raise
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list