From: Freudiger Raphael Date: Fri, 1 Apr 2016 12:54:20 +0000 (+0200) Subject: image: Fix debugfs image type recursion loop X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2862cbf74925cb084d3f9c206d3448112ba6a0aa;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image: Fix debugfs image type recursion loop The debugfs prefix is striped from t, but not from baset. Therefore baset never matches t. Signed-off-by: Freudiger Raphael Signed-off-by: Pascal Bach Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index d9c16106c26..ea77ab8878e 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -324,6 +324,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]: @@ -344,9 +345,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)