mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
image: Fix debugfs image type recursion loop
The debugfs prefix is striped from t, but not from baset. Therefore baset never matches t. (From OE-Core rev: 2862cbf74925cb084d3f9c206d3448112ba6a0aa) 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>
This commit is contained in:
committed by
Richard Purdie
parent
7dcb4c4127
commit
25102393b4
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user