[Buildroot] [PATCH] rsync: make acl support non-random

Gustavo Zacarias gustavo at zacarias.com.ar
Mon Mar 31 17:28:10 UTC 2014


If acl is selected then add it to dependencies so it can be used by
rsync in a predictable fashion.
Extended attributes are handled directly via linux, there's no need
for the xattr package/library.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 package/rsync/rsync.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/rsync/rsync.mk b/package/rsync/rsync.mk
index 35f128c..d0ceaa9 100644
--- a/package/rsync/rsync.mk
+++ b/package/rsync/rsync.mk
@@ -14,4 +14,10 @@ RSYNC_CONF_OPT = \
 	--with-included-zlib=no \
 	--with-included-popt=no
 
+ifeq ($(BR2_PACKAGE_ACL),y)
+	RSYNC_DEPENDENCIES += acl
+else
+	RSYNC_CONF_OPT += --disable-acl-support
+endif
+
 $(eval $(autotools-package))
-- 
1.8.3.2



More information about the buildroot mailing list