poky/meta/lib/oeqa
Paul Eggleton 2054b29dd7 devtool: deploy: fix preservation of symlinks and permissions/ownership
It turns out that scp can't be used to copy symlinks because it follows
them instead of copying them, and this is by design (since it emulates
rcp which also behaved this way); the unfortunate result is that
symlinks that point to valid files on the host translate into the host
file being copied to the target (yuck).  The simplest alternative that
does not have this undesirable behaviour is to use tar and pipe it over
ssh.

At the same time, it would be even better if we properly reflect file
permissions and ownership on the target that have been established
within the pseudo environment. We can do this by executing the copy
process under pseudo, which turns out to be quite easy with access to
the pseudo environment set up by the build system.

Fixes [YOCTO #7868].

(From OE-Core rev: 69adaed0e982d627ebfa57b360b0ee049ea7a276)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-18 09:14:06 +01:00
..
controllers controllers/masterimage.py: Make testimage kernel naming pattern universal 2014-06-13 12:52:21 +01:00
runtime oeqa/parselogs: Added some more errors to the whitelist. 2015-06-11 23:59:18 +01:00
sdk lib/oeqa: Add sdk tests for gcc/perl/python 2015-04-29 10:58:55 +01:00
selftest devtool: deploy: fix preservation of symlinks and permissions/ownership 2015-06-18 09:14:06 +01:00
utils lib/oeqa/utils/commands: ensure get_bb_var() works when value contains = 2015-06-18 09:14:06 +01:00
__init__.py lib/oeqa/oetest.py: base module for all runtime unittests 2013-07-09 10:53:43 +01:00
oetest.py lib/oeqa: Add sdk tests for gcc/perl/python 2015-04-29 10:58:55 +01:00
runexported.py lib/oeqa: add module for running tests outside of the build system 2014-02-09 09:40:01 +00:00
targetcontrol.py oeqa/targetcontrol: Add support for poky-tiny in QemuTarget. 2015-04-10 18:10:27 +01:00