From c86485210ba6136bc90fc2708611ae5a609b6bf1 Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Mon, 7 Jan 2013 12:01:11 +0000 Subject: [PATCH] zram-swap: Install init script with 0755 mode SVN-Revision: 35033 --- package/zram-swap/Makefile | 6 +++--- package/zram-swap/files/{etc/init.d/zram => zram.init} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename package/zram-swap/files/{etc/init.d/zram => zram.init} (100%) mode change 100755 => 100644 diff --git a/package/zram-swap/Makefile b/package/zram-swap/Makefile index 59a55c4776..bded5f3808 100644 --- a/package/zram-swap/Makefile +++ b/package/zram-swap/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zram-swap PKG_VERSION:=1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) @@ -39,8 +39,8 @@ define Build/Compile endef define Package/zram-swap/install - $(INSTALL_DIR) $(1) - $(CP) ./files/* $(1)/ + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/zram.init $(1)/etc/init.d/zram endef $(eval $(call BuildPackage,zram-swap)) diff --git a/package/zram-swap/files/etc/init.d/zram b/package/zram-swap/files/zram.init old mode 100755 new mode 100644 similarity index 100% rename from package/zram-swap/files/etc/init.d/zram rename to package/zram-swap/files/zram.init