diff options
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/imagedetailspage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py index f15aad30a5..b70440de5e 100755 --- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py | |||
@@ -281,7 +281,8 @@ class ImageDetailsPage (HobPage): | |||
281 | def test_mach_runnable(self, image_name): | 281 | def test_mach_runnable(self, image_name): |
282 | mach_runnable = False | 282 | mach_runnable = False |
283 | for t in self.builder.parameters.runnable_machine_patterns: | 283 | for t in self.builder.parameters.runnable_machine_patterns: |
284 | if t in image_name: | 284 | mach_string = image_name.strip(self.builder.hob_image + '-') |
285 | if mach_string.startswith(t): | ||
285 | mach_runnable = True | 286 | mach_runnable = True |
286 | break | 287 | break |
287 | return mach_runnable | 288 | return mach_runnable |