mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
Hob: Improve the matching for runnable machine type
(Bitbake rev: 1b14488bcfb345a3258b15ebfdaa2e1235a5fe87) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
abcb2e0916
commit
f73ea0e40d
@@ -281,7 +281,8 @@ class ImageDetailsPage (HobPage):
|
|||||||
def test_mach_runnable(self, image_name):
|
def test_mach_runnable(self, image_name):
|
||||||
mach_runnable = False
|
mach_runnable = False
|
||||||
for t in self.builder.parameters.runnable_machine_patterns:
|
for t in self.builder.parameters.runnable_machine_patterns:
|
||||||
if t in image_name:
|
mach_string = image_name.strip(self.builder.hob_image + '-')
|
||||||
|
if mach_string.startswith(t):
|
||||||
mach_runnable = True
|
mach_runnable = True
|
||||||
break
|
break
|
||||||
return mach_runnable
|
return mach_runnable
|
||||||
|
|||||||
Reference in New Issue
Block a user