From c97194b0b1aceb09752fe8edd84085757731c2a6 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Fri, 24 Oct 2014 09:41:10 +0200 Subject: 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) Signed-off-by: Pascal Bach Signed-off-by: Richard Purdie --- meta/lib/oe/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib/oe/image.py') diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index 354a676f42..7e080b00dd 100644 --- a/meta/lib/oe/image.py +++ b/meta/lib/oe/image.py @@ -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) -- cgit v1.2.3-54-g00ecf