]> code.ossystems Code Review - openembedded-core.git/commit
sshcontrol.py: in copy_to() always use scp
authorErik Botö <erik.boto@pelagicore.com>
Mon, 6 Nov 2017 18:13:06 +0000 (10:13 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Nov 2017 19:54:23 +0000 (19:54 +0000)
commit1eb2a9c2f48d3af13ce651f1adf024b3380299d1
treed5510105c7f8f391e372094e65026f3abc21697d
parent64614ab6894143fa4876558cbe3d2954e5b08eac
sshcontrol.py: in copy_to() always use scp

The current implementation is broken when the localpath is a link.
Then only a symlink would be created on the target, instead of copying
the actual file.

[YOCTO #11524]

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>
meta/lib/oeqa/utils/sshcontrol.py