6from recipe_engine
import recipe_api
12"""Chromebook flavor, used for running code on Chromebooks."""
18 super(ChromebookFlavor, self).
__init__(m, app_name)
25 fonts_dir =
'NOT_SUPPORTED',
35 super(ChromebookFlavor, self).
install()
39 'sudo',
'mount',
'-i',
'-o',
'remount,exec',
'/home/chronos')
42 script = self.
module.resource(
'scp.py')
43 self.
m.
step(str(
'scp -r %s %s' % (src, dest)),
44 cmd=[
'python3', script, src, dest],
__init__(self, m, app_name)
copy_directory_contents_to_device(self, host_path, device_path)
_copy_dir(self, src, dest)
copy_directory_contents_to_host(self, device_path, host_path)
scp_device_path(self, device_path)
ssh(self, title, *cmd, **kwargs)
step(self, name, cmd, **kwargs)