Message ID | 20130123044313.27277.90979.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_dispatcher/client/targetdevice.py' --- lava_dispatcher/client/targetdevice.py 2012-11-21 22:07:45 +0000 +++ lava_dispatcher/client/targetdevice.py 2013-01-22 23:50:06 +0000 @@ -66,6 +66,9 @@ self.target_device.deploy_linaro_prebuilt(image) def _boot_linaro_image(self): + if self.proc: + logging.warning('device already powered on, powering off first') + self.target_device.power_off(self.proc) self.proc = self.target_device.power_on() def _boot_linaro_android_image(self):