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>
This commit is contained in:
parent
38372fbbef
commit
36c8478129
|
@ -36,8 +36,8 @@ define LINUX_FUSION_INSTALL_TARGET_CMDS
|
||||||
$(LINUX_FUSION_MAKE_OPTS) \
|
$(LINUX_FUSION_MAKE_OPTS) \
|
||||||
INSTALL_MOD_PATH=$(TARGET_DIR) \
|
INSTALL_MOD_PATH=$(TARGET_DIR) \
|
||||||
-C $(@D) install
|
-C $(@D) install
|
||||||
mkdir -p $(LINUX_FUSION_ETC_DIR)
|
$(INSTALL) -D -m 644 package/linux-fusion/40-fusion.rules \
|
||||||
cp -dpf package/linux-fusion/40-fusion.rules $(LINUX_FUSION_ETC_DIR)
|
$(LINUX_FUSION_ETC_DIR)/40-fusion.rules
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|
Loading…
Reference in a new issue