From patchwork Fri Nov 21 16:19:06 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: 413109 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 930ED140187 for ; Sat, 22 Nov 2014 03:20:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D9C34A3883; Fri, 21 Nov 2014 16:20:38 +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 F53CC-jVyrbG; Fri, 21 Nov 2014 16:20:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6760BA3ACE; Fri, 21 Nov 2014 16:20:38 +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 B5EAE1C257C for ; Fri, 21 Nov 2014 16:20:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B1A2890FEF for ; Fri, 21 Nov 2014 16:20:37 +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 gwucb98Lien5 for ; Fri, 21 Nov 2014 16:20:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1099A90C0F for ; Fri, 21 Nov 2014 16:20:37 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id c9so3950742qcz.33 for ; Fri, 21 Nov 2014 08:20:36 -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=Z72r7U0Zkk1eRSK/2OasoAroeobOBnw4Z8yLyK48ecw=; b=Hq3oGyYo3fY0oUD0MDOTW76HyVngN1dNyoxjqAZWNRcoXoz8mD6xjNaJQNa2FegdvN eoyuk21LX/QfjGyV0mMj7QY4PjhtM1lUTuwQSdV3UtmqHVinCwa7GhJL8WYblH8oBqTI /05ebWHweeMG5ApNvM+gCzvA3SKcGi644i/BnL81qjERLgYhegKNoYhxAk6TiTKmb/Zu tdjAn4/UBvKkmVdK/A9TvetuyBbS1kvf4V+QdE9munfhiBueN57O15mIcIGcdh8Drp4D egDP1B5Sh22BB82hk5Abo1I3ICzwf5tg3KDBbNiBZtLUhpibF3jW0gQio36afXmFvGmB w+0g== X-Gm-Message-State: ALoCoQlNltUEXIfenfGye9iq/coUTe3EXZ4bOrpQM7yEOFR1c89uGWkX6JoqvmwxDuwC0bqg8+V6 X-Received: by 10.140.87.11 with SMTP id q11mr7769346qgd.6.1416586836281; Fri, 21 Nov 2014 08:20:36 -0800 (PST) Received: from localhost (host150.181-14-218.telecom.net.ar. [181.14.218.150]) by mx.google.com with ESMTPSA id o30sm2709111qge.33.2014.11.21.08.20.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Nov 2014 08:20:35 -0800 (PST) From: =?UTF-8?q?Guido=20Mart=C3=ADnez?= To: buildroot@busybox.net Date: Fri, 21 Nov 2014 13:19:06 -0300 Message-Id: <1416586748-12936-8-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 7/9] nitrogen6x: use install instead of cp 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" in order to not depend on the previous permissions of each file Signed-off-by: Guido Martínez --- board/boundarydevices/nitrogen6x/post-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/boundarydevices/nitrogen6x/post-build.sh b/board/boundarydevices/nitrogen6x/post-build.sh index cc6e66a..2b43aa3 100755 --- a/board/boundarydevices/nitrogen6x/post-build.sh +++ b/board/boundarydevices/nitrogen6x/post-build.sh @@ -8,11 +8,11 @@ BOARD_DIR="$(dirname $0)" # bd u-boot looks for bootscript here -cp $BOARD_DIR/6x_bootscript $TARGET_DIR +install -D -m 0644 $BOARD_DIR/6x_bootscript $TARGET_DIR/6x_bootscript # u-boot / update script for bd upgradeu command if [ -e $BINARIES_DIR/u-boot.imx ]; then - cp $BINARIES_DIR/u-boot.imx $TARGET_DIR - cp $BOARD_DIR/6x_upgrade $TARGET_DIR + install -D -m 0644 $BINARIES_DIR/u-boot.imx $TARGET_DIR/u-boot.imx + install -D -m 0644 $BOARD_DIR/6x_upgrade $TARGET_DIR/6x_upgrade fi