[oe-commits] Amy Fong : rsync doesn't create hardlinks for certain files

git at git.openembedded.org git at git.openembedded.org
Thu Dec 13 15:22:24 UTC 2012


Module: openembedded-core.git
Branch: danny
Commit: 4e6b3eeb7cf2ea002819daa57a1248de2daac0cd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4e6b3eeb7cf2ea002819daa57a1248de2daac0cd

Author: Amy Fong <amy.fong at windriver.com>
Date:   Thu Nov 29 14:24:03 2012 +0000

rsync doesn't create hardlinks for certain files

commit 4205a4c5d959643cf6c186e0939e202fb6006b82
Author: Amy Fong <Amy.Fong at 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 at windriver.com>

Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/rsync/rsync_3.0.9.bb |    6 ++++++
 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 8fb0140..74eacc9 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 () {





More information about the Openembedded-commits mailing list