From patchwork Fri Nov 21 16:19:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Guido_Mart=C3=ADnez?= X-Patchwork-Id: 413105 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 40B1E140187 for ; Sat, 22 Nov 2014 03:20:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A8AF4A462F; Fri, 21 Nov 2014 16:20:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s-HiuOMoGsZ3; Fri, 21 Nov 2014 16:20:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 18818A44DA; Fri, 21 Nov 2014 16:20:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BE5A81CEC9E for ; Fri, 21 Nov 2014 16:20:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BA0CB90C0F for ; Fri, 21 Nov 2014 16:20:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MuGFuZu9Yppk for ; Fri, 21 Nov 2014 16:20:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qg0-f41.google.com (mail-qg0-f41.google.com [209.85.192.41]) by whitealder.osuosl.org (Postfix) with ESMTPS id C59B991115 for ; Fri, 21 Nov 2014 16:20:01 +0000 (UTC) Received: by mail-qg0-f41.google.com with SMTP id j5so3952169qga.14 for ; Fri, 21 Nov 2014 08:20:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=EPJcr/uszfUCv5REY630xVPGt4oGQBqDn0D+jyuulks=; b=KIV7pxTWmyHoI+9PaZbmH5WjX3JFqcVM1yIP++r/ZaRStvpXjH+Rud8ImFJ588ew29 VER+bLuoNX/0ZIKVqVg78VNBE2D+nGL1UsXm/3dpQCk/li0xVilZZXSEvxVOKkfOMppD J/9h/QTxIgyn1UoMzEf5UZ4bUoFBz9o4ipAbqSbVf57U+rOyxm3Llhol0QkZN3x1wOHx MO8r41r+aNmXZ6Ma6VP3TFHigN81ybrt4JG25GEKiAaGEaLQglW014DfobSzh9VFIbRg 67SLfwNQOKcZYRBkjbmwpQbrs9R/aa20MC3870+meZQrCGbyZ1oQiolFhvGaE8NBS4VJ 1+SA== X-Gm-Message-State: ALoCoQlinXk0KbNRqcfzC+YBnKiITJ1I2tGdXxxhKHlzTmkohkXEiU3HfgzcuBUxcVmO2t38Qaip X-Received: by 10.229.79.132 with SMTP id p4mr7675630qck.14.1416586801085; Fri, 21 Nov 2014 08:20:01 -0800 (PST) Received: from localhost (host150.181-14-218.telecom.net.ar. [181.14.218.150]) by mx.google.com with ESMTPSA id w15sm5035812qaw.12.2014.11.21.08.19.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Nov 2014 08:20:00 -0800 (PST) From: =?UTF-8?q?Guido=20Mart=C3=ADnez?= To: buildroot@busybox.net Date: Fri, 21 Nov 2014 13:19:02 -0300 Message-Id: <1416586748-12936-4-git-send-email-guido@vanguardiasur.com.ar> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1416586748-12936-1-git-send-email-guido@vanguardiasur.com.ar> References: <1416586748-12936-1-git-send-email-guido@vanguardiasur.com.ar> MIME-Version: 1.0 Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH v4 3/9] toolchain/helpers.mk: use --chmod on rsync X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 Acked-by: Arnout Vandecappelle (Essensium/Mind) --- toolchain/helpers.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk index 3121da4..46f5f22 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 ; \