aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rsync
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2012-11-29 14:24:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-03 14:41:36 +0000
commit1e05183289dbf77ebb1e7aa3375525a7d97eaf0f (patch)
tree7cc4621ad374861e7653975649bd9ccd56fc0e30 /meta/recipes-devtools/rsync
parent8567991639fda8d2a1e88169b86c72e14cc6c82d (diff)
downloadopenembedded-core-contrib-1e05183289dbf77ebb1e7aa3375525a7d97eaf0f.tar.gz
openembedded-core-contrib-1e05183289dbf77ebb1e7aa3375525a7d97eaf0f.tar.bz2
openembedded-core-contrib-1e05183289dbf77ebb1e7aa3375525a7d97eaf0f.zip
rsync doesn't create hardlinks for certain files
commit 4205a4c5d959643cf6c186e0939e202fb6006b82 Author: Amy Fong <Amy.Fong@windriver.com> Date: Thu Nov 29 09:21:49 2012 -0500 rsync cannot create hardlink for node file when use option --link-dest=DIR. By default, rsync's configure file disables certain capabilities when crosscompiling. Signed-off-by: Amy Fong <Amy.Fong@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rsync')
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.0.9.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.0.9.bb b/meta/recipes-devtools/rsync/rsync_3.0.9.bb
index 8fb0140fe0..74eacc9d6e 100644
--- a/meta/recipes-devtools/rsync/rsync_3.0.9.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.0.9.bb
@@ -14,6 +14,12 @@ EXTRA_OECONF += "--disable-xattr-support --disable-acl-support"
do_configure_prepend () {
rm -f configure configure.sh
cp -f ${WORKDIR}/acinclude.m4 ${S}/
+
+ # by default, if crosscompiling, rsync
+ # disables a number of capabilities, hardlinking
+ # symlinks and special files (ie devices)
+ export rsync_cv_can_hardlink_special=yes
+ export rsync_cv_can_hardlink_symlink=yes
}
do_configure_append () {