mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
target/chromeosassistant: Fix missing disable_selinux parameter
Adds missing `disable_selinux` parameter to the chromeos assistant and pass it to the android assistant if applicable.
This commit is contained in:
parent
ec316eab03
commit
85d5d4f7df
@ -163,10 +163,11 @@ class ChromeOsAssistant(LinuxAssistant):
|
||||
|
||||
parameters = LinuxAssistant.parameters + AndroidAssistant.parameters
|
||||
|
||||
def __init__(self, target, logcat_poll_period=None):
|
||||
def __init__(self, target, logcat_poll_period=None, disable_selinux=True):
|
||||
super(ChromeOsAssistant, self).__init__(target)
|
||||
if target.supports_android:
|
||||
self.android_assistant = AndroidAssistant(target.android_container, logcat_poll_period)
|
||||
self.android_assistant = AndroidAssistant(target.android_container,
|
||||
logcat_poll_period, disable_selinux)
|
||||
else:
|
||||
self.android_assistant = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user