[OE-core] [PATCH] debugfs: Fix recursion loop
Freudiger Raphael
raphael.freudiger at siemens.com
Fri Apr 1 12:54:20 UTC 2016
The debugfs prefix is striped from t, but not from baset.
Therefore baset never matches t.
Signed-off-by: Freudiger Raphael <raphael.freudiger at siemens.com>
Signed-off-by: Pascal Bach <pascal.bach at siemens.com>
---
meta/classes/image.bbclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index c61d814..adbbe35 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -320,6 +320,7 @@ python () {
def _add_type(t):
baset = _image_base_type(t)
+ input_t = t
if baset not in basetypes:
basetypes[baset]= []
if t not in basetypes[baset]:
@@ -340,9 +341,9 @@ python () {
basedep = _image_base_type(dep)
typedeps[baset].add(basedep)
- if baset != t:
+ if baset != input_t:
_add_type(baset)
-
+
for t in alltypes[:]:
_add_type(t)
--
2.1.4
More information about the Openembedded-core
mailing list