[oe-commits] [openembedded-core] 01/10: image: Fix debugfs image type recursion loop
git at git.openembedded.org
git at git.openembedded.org
Sat Apr 2 15:48:43 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 2862cbf74925cb084d3f9c206d3448112ba6a0aa
Author: Freudiger Raphael <raphael.freudiger at siemens.com>
AuthorDate: Fri Apr 1 14:54:20 2016 +0200
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 at siemens.com>
Signed-off-by: Pascal Bach <pascal.bach at siemens.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 d9c1610..ea77ab8 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)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list