poky/meta/lib/oeqa/selftest
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
..
__init__.py scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts 2013-12-03 17:45:50 +00:00
_sstatetests_noauto.py oe-selftest: force some values in local.conf for _sstatetests_noauto.py 2014-03-07 14:58:45 +00:00
_toaster.py oeqa/selftest/toaster: fix bad indent 2015-04-27 10:10:11 +01:00
base.py Added testcase decorator to use in logging. Added class decorator LogResults that outputs test results in separate log file. 2014-07-03 17:41:17 +01:00
bblayers.py lib/oeqa/selftest/bblayers: improve test for add-layer and remove-layer 2015-04-10 18:10:24 +01:00
bbtests.py oe-selftest: use spaces to indent python code, not tabs 2015-03-21 09:42:36 +00:00
buildhistory.py oe-selftest: New BuildhistoryBase object for buildhistory testing. 2013-12-20 12:26:28 +00:00
buildoptions.py oeqa/selftest: fix test_incremental_image_generation for changes in log output 2014-12-31 17:04:46 +00:00
devtool.py devtool: deploy: fix preservation of symlinks and permissions/ownership 2015-06-18 09:14:06 +01:00
layerappend.py oeqa: Add test for layer append and FILESPATH tracking 2015-04-15 14:19:44 +01:00
lic-checksum.py lib/oeqa/selftest/lic-checksum: Add INHIBIT_DEFAULT_DEPS 2015-03-20 11:27:52 +00:00
oescripts.py oeqs/selftest: Added test case decorators for the rest of selftest testcases except toaster 2014-07-10 17:38:35 +01:00
pkgdata.py lib/oe/package_manager: support exclusion from complementary glob process by regex 2015-02-17 14:20:45 +00:00
prservice.py oeqs/selftest: Added test case decorators for the rest of selftest testcases except toaster 2014-07-10 17:38:35 +01:00
recipetool.py recipetool: add appendfile subcommand 2015-05-20 21:41:04 +01:00
sstate.py oe-selftest: separated the SStateBase and SStateTests in different modules 2014-01-16 12:18:52 +00:00
sstatetests.py oeqa: sstatetests should now look for glibc-initial 2014-09-01 18:03:04 +01:00
wic.py wic: oe-selftest: Configure testing of gpt/UUID image 2015-06-11 23:59:12 +01:00