From f906cbd8515bde1412dd3b54556fd152181cf647 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Fri, 24 Apr 2015 17:51:55 +0100 Subject: [PATCH] Sent INITIAL_BOOT signal in hard reset path during intial boot --- wlauto/core/execution.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wlauto/core/execution.py b/wlauto/core/execution.py index f2bf7876..cfb59840 100644 --- a/wlauto/core/execution.py +++ b/wlauto/core/execution.py @@ -530,7 +530,8 @@ class Runner(object): self.device.connect() except DeviceError: # device may be offline if self.device.can('reset_power'): - self.device.hard_reset() + with self._signal_wrap('INITIAL_BOOT'): + self.device.hard_reset() else: raise DeviceError('Cannot connect to device for initial reboot; ' 'and device does not support hard reset.')