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 <guido@vanguardiasur.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015.08.x
Guido Martínez 2014-11-17 14:19:10 -03:00 committed by Thomas Petazzoni
parent 38372fbbef
commit 36c8478129
1 changed files with 2 additions and 2 deletions

View File

@ -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))