diff options
author | Freudiger Raphael <raphael.freudiger@siemens.com> | 2016-04-01 14:54:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-01 15:01:46 +0100 |
commit | 2862cbf74925cb084d3f9c206d3448112ba6a0aa (patch) | |
tree | c329eeb3d487956442ce2f0486a1d574bd180336 | |
parent | 322904f62f11e794543362f04212242567c556a0 (diff) | |
download | openembedded-core-2862cbf74925cb084d3f9c206d3448112ba6a0aa.tar.gz openembedded-core-2862cbf74925cb084d3f9c206d3448112ba6a0aa.tar.bz2 openembedded-core-2862cbf74925cb084d3f9c206d3448112ba6a0aa.zip |
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 <raphael.freudiger@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index d9c16106c2..ea77ab8878 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) |