]> 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>
Mon, 4 Dec 2017 17:14:26 +0000 (17:14 +0000)
commita9d446d9c42a67109ae87a156ae43dcbb0f56e1e
tree7d95dd862b98e2408f667c168dae6e8a64f4675a
parent4e376d0658fe8315cfcca927ea275e1260bcc02f
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>
Signed-off-by: Armin Kuster <akuster@mvista.com>
meta/lib/oeqa/utils/sshcontrol.py