diff options
author | Guido MartÃnez <guido@vanguardiasur.com.ar> | 2014-11-21 13:19:02 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-13 17:13:15 +0200 |
commit | 40b28322b378da087a795e4e544d8700001d28ea (patch) | |
tree | 49a7f38eec02a20cfc37852d561fe77d38fbf541 /toolchain | |
parent | 7701e2bf754c773a9d6ef89923316413d09d5287 (diff) | |
download | buildroot-40b28322b378da087a795e4e544d8700001d28ea.tar.gz buildroot-40b28322b378da087a795e4e544d8700001d28ea.zip |
toolchain/helpers.mk: use --chmod on rsync
This makes sure we don't have any weird permissions on the staging dir,
which could affect the target.
Signed-off-by: Guido MartÃnez <guido@vanguardiasur.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/helpers.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk index 0dc1864bb7..895f3f1460 100644 --- a/toolchain/helpers.mk +++ b/toolchain/helpers.mk @@ -139,7 +139,7 @@ copy_toolchain_sysroot = \ SUPPORT_LIB_DIR="$(strip $5)" ; \ for i in etc $${ARCH_LIB_DIR} sbin usr usr/$${ARCH_LIB_DIR}; do \ if [ -d $${ARCH_SYSROOT_DIR}/$$i ] ; then \ - rsync -au --chmod=Du+w --exclude 'usr/lib/locale' \ + rsync -au --chmod=u=rwX,go=rX --exclude 'usr/lib/locale' \ --exclude lib --exclude lib32 --exclude lib64 \ $${ARCH_SYSROOT_DIR}/$$i/ $(STAGING_DIR)/$$i/ ; \ fi ; \ |