diff options
author | Emil Muratov <gpm@hotplug.ru> | 2018-10-31 11:43:49 +0300 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-07-07 13:02:06 +0200 |
commit | c0d93432f2446fbf193ec15e4880cbafa9980779 (patch) | |
tree | 66233a62658738915f923df83f6ca61603cf3e42 /package | |
parent | dc3cf94cb2c76d7010556627acebd412ed7c2bb2 (diff) | |
download | upstream-c0d93432f2446fbf193ec15e4880cbafa9980779.tar.gz upstream-c0d93432f2446fbf193ec15e4880cbafa9980779.tar.bz2 upstream-c0d93432f2446fbf193ec15e4880cbafa9980779.zip |
zram-swap: Fix busybox dependency check
- fix dependency on BUSYBOX_CONFIG_SWAPONOFF (removed in 84da2a6)
- add busybox defaults checking (fix zram-swap always installs swap-utils
and libblkid as dependency, even if busybox includes mkswap by default)
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
Diffstat (limited to 'package')
-rw-r--r-- | package/system/zram-swap/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap/Makefile index 99dd9a675f..527800501b 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:swap-utils +!BUSYBOX_CONFIG_SWAPONOFF:block-mount + DEPENDS:=+kmod-zram +!(BUSYBOX_DEFAULT_MKSWAP||BUSYBOX_CONFIG_MKSWAP):swap-utils +!((BUSYBOX_DEFAULT_SWAPON||BUSYBOX_CONFIG_SWAPON)&&(BUSYBOX_DEFAULT_SWAPOFF||BUSYBOX_CONFIG_SWAPOFF)):block-mount TITLE:=ZRAM swap scripts PKGARCH:=all endef |