diff options
Diffstat (limited to 'meta/lib/oeqa/controllers/masterimage.py')
-rw-r--r-- | meta/lib/oeqa/controllers/masterimage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/controllers/masterimage.py b/meta/lib/oeqa/controllers/masterimage.py index 07418fcda1..fe90967923 100644 --- a/meta/lib/oeqa/controllers/masterimage.py +++ b/meta/lib/oeqa/controllers/masterimage.py | |||
@@ -108,7 +108,7 @@ class MasterImageHardwareTarget(oeqa.targetcontrol.BaseTarget, metaclass=ABCMeta | |||
108 | time.sleep(10) | 108 | time.sleep(10) |
109 | self.power_ctl("cycle") | 109 | self.power_ctl("cycle") |
110 | else: | 110 | else: |
111 | status, output = conn.run("reboot") | 111 | status, output = conn.run("sync; { sleep 1; reboot; } > /dev/null &") |
112 | if status != 0: | 112 | if status != 0: |
113 | bb.error("Failed rebooting target and no power control command defined. You need to manually reset the device.\n%s" % output) | 113 | bb.error("Failed rebooting target and no power control command defined. You need to manually reset the device.\n%s" % output) |
114 | 114 | ||