From: Guido Martínez Date: Mon, 17 Nov 2014 17:19:10 +0000 (-0300) Subject: package: linux-fusion: use install instead of cp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36c84781293bda65d0374962463c1663735b8907;p=buildroot.git package: linux-fusion: use install instead of cp in order to not depend on the previous permissions of the file Signed-off-by: Guido Martínez Reviewed-by: "Yann E. MORIN" Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/linux-fusion/linux-fusion.mk b/package/linux-fusion/linux-fusion.mk index c5e7976740..001388c67d 100644 --- a/package/linux-fusion/linux-fusion.mk +++ b/package/linux-fusion/linux-fusion.mk @@ -36,8 +36,8 @@ define LINUX_FUSION_INSTALL_TARGET_CMDS $(LINUX_FUSION_MAKE_OPTS) \ INSTALL_MOD_PATH=$(TARGET_DIR) \ -C $(@D) install - mkdir -p $(LINUX_FUSION_ETC_DIR) - cp -dpf package/linux-fusion/40-fusion.rules $(LINUX_FUSION_ETC_DIR) + $(INSTALL) -D -m 644 package/linux-fusion/40-fusion.rules \ + $(LINUX_FUSION_ETC_DIR)/40-fusion.rules endef $(eval $(generic-package))