From patchwork Wed Feb 6 20:46:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [5/8] gptfdisk: fix installation step Date: Wed, 06 Feb 2013 10:46:03 -0000 From: Thomas Petazzoni X-Patchwork-Id: 218740 Message-Id: <1360183566-27556-6-git-send-email-thomas.petazzoni@free-electrons.com> To: buildroot@uclibc.org 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