mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +00:00
android device: always deploy busybox on rooted devices.
This commit is contained in:
parent
691c380779
commit
20a5660ea1
@ -194,10 +194,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
|
|||||||
def initialize(self, context):
|
def initialize(self, context):
|
||||||
self.execute('mkdir -p {}'.format(self.working_directory))
|
self.execute('mkdir -p {}'.format(self.working_directory))
|
||||||
if self.is_rooted:
|
if self.is_rooted:
|
||||||
if not self.executable_is_installed('busybox'):
|
self.busybox = self.deploy_busybox(context)
|
||||||
self.busybox = self.deploy_busybox(context)
|
|
||||||
else:
|
|
||||||
self.busybox = self.path.join(self.binaries_directory, 'busybox')
|
|
||||||
self.disable_screen_lock()
|
self.disable_screen_lock()
|
||||||
self.disable_selinux()
|
self.disable_selinux()
|
||||||
if self.enable_screen_check:
|
if self.enable_screen_check:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user