From patchwork Wed Feb 6 20:46:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 218740 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 6BA982C02E9 for ; Thu, 7 Feb 2013 07:46:57 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 80E9731309; Wed, 6 Feb 2013 20:46:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1odGWrN2g4c7; Wed, 6 Feb 2013 20:46:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A7B9E312EF; Wed, 6 Feb 2013 20:46:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 481048F7A0 for ; Wed, 6 Feb 2013 20:46:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 22DEC2019B for ; Wed, 6 Feb 2013 20:46:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HXD4cxsFV7nu for ; Wed, 6 Feb 2013 20:46:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by silver.osuosl.org (Postfix) with ESMTP id EAA1C2020A for ; Wed, 6 Feb 2013 20:46:21 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 9C021825; Wed, 6 Feb 2013 21:46:20 +0100 (CET) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 2A258730 for ; Wed, 6 Feb 2013 21:46:20 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Wed, 6 Feb 2013 21:46:03 +0100 Message-Id: <1360183566-27556-6-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360183566-27556-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1360183566-27556-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 5/8] gptfdisk: fix installation step X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The installation step was not giving the full destination path even though it was using -D, and it was forgetting to explicitly specify the permissions of the file to install. This commit fixes both of these minor issues. Signed-off-by: Thomas Petazzoni --- package/gptfdisk/gptfdisk.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index 656a187..988eecf 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -22,7 +22,7 @@ endef define GPTFDISK_INSTALL_TARGET_CMDS for i in $(GPTFDISK_TARGETS_y); do \ - $(INSTALL) -D $(@D)/$$i $(TARGET_DIR)/usr/sbin/; \ + $(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i; \ done endef