diff options
Diffstat (limited to 'bitbake/lib/bb')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/imagedetailspage.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py index b685d11e69..277f9d4b4d 100755 --- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py | |||
@@ -272,8 +272,7 @@ class ImageDetailsPage (HobPage): | |||
272 | def test_mach_runnable(self, image_name): | 272 | def test_mach_runnable(self, image_name): |
273 | mach_runnable = False | 273 | mach_runnable = False |
274 | for t in self.builder.parameters.runnable_machine_patterns: | 274 | for t in self.builder.parameters.runnable_machine_patterns: |
275 | mach_string = image_name.strip(self.builder.hob_image + '-') | 275 | if t in image_name: |
276 | if mach_string.startswith(t): | ||
277 | mach_runnable = True | 276 | mach_runnable = True |
278 | break | 277 | break |
279 | return mach_runnable | 278 | return mach_runnable |