summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/targetcontrol.py
diff options
context:
space:
mode:
authorErik Botö <erik.boto@pelagicore.com>2017-11-06 10:13:03 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-08 22:24:03 +0000
commit3b67c666bae51c715fcbdd27c2cce8bd2b4e76eb (patch)
tree59ac79ec9b199f16e511f10f79e645b698d2dbe6 /meta/lib/oeqa/targetcontrol.py
parent5239691cc92679609cb464c55a7435d9cd9de349 (diff)
downloadpoky-3b67c666bae51c715fcbdd27c2cce8bd2b4e76eb.tar.gz
masterimage.py: fix issue with calling reboot on masterimage/DUT
On systemd systems calling reboot over an ssh connection doesn't return as expected causing an exception, therefore wrap the call to reboot in order to avoid this issue. Also sync the filesystems before rebooting cause otherwise, it will be done as part of the reboot and could take a very long time and testimage will fail to access the machine. This issue was observed consistently with one of our rootfs at Pelagicore. [YOCTO #11524] (From OE-Core rev: a9c7f877e5bda32249755dc7014d436e4b85f07a) Signed-off-by: Erik Botö <erik.boto@pelagicore.com> Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
0 files changed, 0 insertions, 0 deletions