[bitbake-devel] [PATCH] lib/bb/{data, siggen}: Don't warn on SkipRecipe exceptions
Nathan Rossi
nathan at nathanrossi.com
Tue Apr 11 13:07:50 UTC 2017
Recipes/variables that raise a SkipRecipe exception are intentionally
skipped, and should not generate warnings.
Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
---
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 0403754dee..134afaacc9 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 25ad3e9165..169756e254 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
--
2.11.0
More information about the bitbake-devel
mailing list