1
0
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:
Marc Bonnici 2018-03-29 16:16:54 +01:00 committed by setrofim
parent ec316eab03
commit 85d5d4f7df

View File

@ -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