=== modified file 'lava_dispatcher/device/sdmux.py'
@@ -30,8 +30,8 @@
from lava_dispatcher.errors import (
CriticalError,
)
-from lava_dispatcher.device.target import (
- Target
+from lava_dispatcher.device.master import (
+ MasterImageTarget
)
from lava_dispatcher.client.lmc_utils import (
generate_android_image,
@@ -62,7 +62,7 @@
os.close(int(f))
-class SDMuxTarget(Target):
+class SDMuxTarget(MasterImageTarget):
"""
This adds support for the "sd mux" device. An SD-MUX device is a piece of
hardware that allows the host and target to both connect to the same SD
@@ -100,7 +100,7 @@
with open('%s/etc/mkshrc' % d, 'a') as f:
f.write('\n# LAVA CUSTOMIZATIONS\n')
f.write('PS1="%s"\n' % self.ANDROID_TESTER_PS1)
- self.deployment_data = Target.android_deployment_data
+ self.deployment_data = MasterImageTarget.android_deployment_data
def deploy_android(self, boot, system, data):
scratch = self.scratch_dir