diff options
author | Amy Fong <amy.fong@windriver.com> | 2012-11-29 14:24:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-13 15:21:43 +0000 |
commit | 13b98f209ba447d6c5fc4ffc3f0f0264c5360d86 (patch) | |
tree | 90f3c96e51c9b00e94d24ab8160e398f2152ff9d | |
parent | cde4273308ba38da164b96cfaa5efc4e3d0081ac (diff) | |
download | poky-13b98f209ba447d6c5fc4ffc3f0f0264c5360d86.tar.gz |
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>
(From OE-Core rev: 4e6b3eeb7cf2ea002819daa57a1248de2daac0cd)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 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" | |||
14 | do_configure_prepend () { | 14 | do_configure_prepend () { |
15 | rm -f configure configure.sh | 15 | rm -f configure configure.sh |
16 | cp -f ${WORKDIR}/acinclude.m4 ${S}/ | 16 | cp -f ${WORKDIR}/acinclude.m4 ${S}/ |
17 | |||
18 | # by default, if crosscompiling, rsync | ||
19 | # disables a number of capabilities, hardlinking | ||
20 | # symlinks and special files (ie devices) | ||
21 | export rsync_cv_can_hardlink_special=yes | ||
22 | export rsync_cv_can_hardlink_symlink=yes | ||
17 | } | 23 | } |
18 | 24 | ||
19 | do_configure_append () { | 25 | do_configure_append () { |