From: Hauke Mehrtens Date: Wed, 13 Nov 2013 18:42:45 +0000 (+0000) Subject: zram-swap: fix dependencies X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0ade818cb7979b1cd007c4d93ee9872daf7c68e9;p=openwrt%2Fstaging%2Fblocktrron.git zram-swap: fix dependencies swapon/swapoff are no longer provided by swap-utils; they are provided by block-mount instead. Signed-off-by: Nathan Hintz SVN-Revision: 38795 --- diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap/Makefile index bded5f3808..1fe3804e82 100644 --- a/package/system/zram-swap/Makefile +++ b/package/system/zram-swap/Makefile @@ -18,7 +18,7 @@ include $(INCLUDE_DIR)/package.mk define Package/zram-swap SECTION:=utils CATEGORY:=Base system - DEPENDS:=+kmod-zram +!(BUSYBOX_CONFIG_MKSWAP&&BUSYBOX_CONFIG_SWAPONOFF):swap-utils + DEPENDS:=+kmod-zram +!BUSYBOX_CONFIG_MKSWAP:swap-utils +!BUSYBOX_CONFIG_SWAPONOFF:block-mount TITLE:=ZRAM swap scripts PKGARCH:=all endef