mirror of
https://git.yoctoproject.org/poky
synced 2026-02-28 20:39:39 +01:00
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: 1e05183289dbf77ebb1e7aa3375525a7d97eaf0f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
855 B
BlitzBasic
28 lines
855 B
BlitzBasic
require rsync.inc
|
|
|
|
PR = "r0"
|
|
|
|
SRC_URI += "file://acinclude.m4"
|
|
|
|
SRC_URI[md5sum] = "5ee72266fe2c1822333c407e1761b92b"
|
|
SRC_URI[sha256sum] = "30f10f8dd5490d28240d4271bb652b1da7a60b22ed2b9ae28090668de9247c05"
|
|
|
|
EXTRA_OECONF += "--disable-xattr-support --disable-acl-support"
|
|
|
|
# rsync 3.0 uses configure.sh instead of configure, and
|
|
# makefile checks the existence of configure.sh
|
|
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 () {
|
|
cp -f configure configure.sh
|
|
}
|