poky/meta
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
..
classes classes/externalsrc: handle tasks with existing lockfiles 2015-06-18 09:14:06 +01:00
conf Add license file XFree86-1.0 2015-06-11 23:59:18 +01:00
files Add license file XFree86-1.0 2015-06-11 23:59:18 +01:00
lib devtool: deploy: fix preservation of symlinks and permissions/ownership 2015-06-18 09:14:06 +01:00
recipes-bsp pcmciautils: fix the parallel building issue 2015-05-20 21:41:04 +01:00
recipes-connectivity bind: ensure searching for json headers searches sysroot 2015-06-11 23:59:16 +01:00
recipes-core dropbear: 2014.66 -> 2015.67 2015-06-11 23:59:15 +01:00
recipes-devtools gcc-source.inc: fix STAMPCLEAN to avoid race issue 2015-06-11 23:59:18 +01:00
recipes-extended cracklib:Fix an error in the patch 2015-06-11 23:59:17 +01:00
recipes-gnome gtk-engines: Make gtk-engines-dev installable by dropping dependency to not generated gtk-engines package. 2015-05-22 13:29:47 +01:00
recipes-graphics wayland: Fix hardlink corruption issue 2015-06-16 14:21:29 +01:00
recipes-kernel blktrace: 1.0.5 -> 1.1.0 2015-06-11 23:59:17 +01:00
recipes-lsb4 libpng12: Upgrade 1.2.52 -> 1.2.53 2015-05-24 07:19:20 +01:00
recipes-multimedia pulseaudio: fix version when building inside a dirty git checkout 2015-06-11 23:59:19 +01:00
recipes-qt qmmp: 0.7.7 -> 0.8.5 2015-06-11 23:59:15 +01:00
recipes-rt hwlatdetect: upgrade to version 0.91 2015-04-08 10:53:11 +01:00
recipes-sato packagegroup-core-x11-sato: add PulseAudio 2015-05-24 07:19:22 +01:00
recipes-support libgpg-error: Upgrade 1.18 -> 1.19 2015-06-11 23:59:17 +01:00
site siteinfo: account for 32 and 64 bit arm 2014-12-23 10:18:17 +00:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00