mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
image.py: Fix error in graph sorting
The graph sorting algorithm for image dependencies does a look for an occurrence of a searched string instead of comparing the chunk to the searched string. This leads to the problem that ubifs is recognized as ubi aswell. This fixes this by splitting up the string into chunks. (From OE-Core rev: cec9725c540c2d54c27092e40d159694cea75b5f) (From OE-Core rev: 6fbe9615bd6667b5634fd471e25412fe627acb09) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
59c7cb37bc
commit
a16aa96a08
@@ -109,7 +109,7 @@ class ImageDepGraph(object):
|
||||
# remove added nodes from deps_array
|
||||
for item in group:
|
||||
for node in self.graph:
|
||||
if item in self.graph[node]:
|
||||
if item in self.graph[node].split():
|
||||
self.deps_array[node][0] -= 1
|
||||
|
||||
self.deps_array.pop(item, None)
|
||||
|
||||
Reference in New Issue
Block a user