aboutsummaryrefslogtreecommitdiffstats
path: root/package/zram-swap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/zram-swap/Makefile')
-rw-r--r--package/zram-swap/Makefile6
1 files changed, 3 insertions, 3 deletions
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))