From 7a9336380a768036dfef14215cdc8d7e86863e1a Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Tue, 17 Jul 2018 21:20:14 +0200 Subject: [PATCH] batman-adv: Simplify installation of files It is not necessary to install each file manually to the target path. A simple recursive copy is enough. Signed-off-by: Sven Eckelmann --- batman-adv/Makefile | 7 +------ batman-adv/files/lib/netifd/proto/batadv.sh | 0 batman-adv/files/lib/netifd/proto/batadv_vlan.sh | 0 3 files changed, 1 insertion(+), 6 deletions(-) mode change 100644 => 100755 batman-adv/files/lib/netifd/proto/batadv.sh mode change 100644 => 100755 batman-adv/files/lib/netifd/proto/batadv_vlan.sh diff --git a/batman-adv/Makefile b/batman-adv/Makefile index 1cab1d0..3885a31 100644 --- a/batman-adv/Makefile +++ b/batman-adv/Makefile @@ -86,12 +86,7 @@ define Build/Compile endef define KernelPackage/batman-adv/install - $(INSTALL_DIR) $(1)/etc/config $(1)/etc/hotplug.d/net $(1)/etc/hotplug.d/iface $(1)/lib/batman-adv $(1)/usr/sbin $(1)/lib/netifd/proto - $(INSTALL_DATA) ./files/etc/config/batman-adv $(1)/etc/config - $(INSTALL_DATA) ./files/lib/batman-adv/config.sh $(1)/lib/batman-adv - $(INSTALL_BIN) ./files/etc/hotplug.d/net/99-batman-adv $(1)/etc/hotplug.d/net - $(INSTALL_BIN) ./files/lib/netifd/proto/batadv.sh $(1)/lib/netifd/proto - $(INSTALL_BIN) ./files/lib/netifd/proto/batadv_vlan.sh $(1)/lib/netifd/proto + $(CP) ./files/. $(1)/ endef $(eval $(call KernelPackage,batman-adv)) diff --git a/batman-adv/files/lib/netifd/proto/batadv.sh b/batman-adv/files/lib/netifd/proto/batadv.sh old mode 100644 new mode 100755 diff --git a/batman-adv/files/lib/netifd/proto/batadv_vlan.sh b/batman-adv/files/lib/netifd/proto/batadv_vlan.sh old mode 100644 new mode 100755