소스 검색

rsync: make acl support non-random

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@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias 11 년 전
부모
커밋
c0f662173e
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      package/rsync/rsync.mk

+ 6 - 0
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))