From: Guido Martínez Date: Fri, 21 Nov 2014 16:19:04 +0000 (-0300) Subject: package: matchbox-keyboard: use install instead of cp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0772e28dbb78b71fea444166f131b74dae22abdb;p=buildroot.git package: matchbox-keyboard: use install instead of cp in order to not depend on the previous permissions of the file Signed-off-by: Guido Martínez Signed-off-by: Thomas Petazzoni --- diff --git a/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk b/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk index ebf23e4fd7..bdcc32f7fc 100644 --- a/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk +++ b/package/matchbox/matchbox-keyboard/matchbox-keyboard.mk @@ -15,7 +15,7 @@ MATCHBOX_KEYBOARD_DEPENDENCIES = host-pkgconf matchbox-lib matchbox-fakekey expa MATCHBOX_KEYBOARD_CONF_ENV = expat=yes define MATCHBOX_KEYBOARD_POST_INSTALL_FIXES - cp -dpf ./package/matchbox/matchbox-keyboard/mb-applet-kbd-wrapper.sh $(TARGET_DIR)/usr/bin/ + $(INSTALL) -D -m 0755 package/matchbox/matchbox-keyboard/mb-applet-kbd-wrapper.sh $(TARGET_DIR)/usr/bin/mb-applet-kbd-wrapper.sh endef MATCHBOX_KEYBOARD_POST_INSTALL_TARGET_HOOKS += MATCHBOX_KEYBOARD_POST_INSTALL_FIXES