@@ -1,15 +1,15 @@
SUMMARY = "Linux zram compressed in-memory swap"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
inherit update-rc.d systemd
-RDEPENDS:${PN} = "kmod \
- ${@bb.utils.contains('DISTRO_FEATURES','systemd','util-linux','util-linux-swaponoff',d)}"
+RDEPENDS:${PN} = "kmod util-linux-swaponoff \
+ ${@bb.utils.contains('DISTRO_FEATURES','systemd','util-linux-zramctl','',d)}"
RRECOMMENDS:${PN} = "kernel-module-zram"
SRC_URI = " \
file://init \
file://zram-swap-init \
file://zram-swap-deinit \
This attempted to pull in the entirety of util-linux when systemd is selected. That falls apart when building with `NO_RECOMMENDATIONS = "1"` as util-linux only weakly recommends util-linux-zramctl. Hence, we want to pull that in explicitly. Signed-off-by: Erik Schilling <erik@riscstar.com> --- meta-oe/recipes-extended/zram/zram_0.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)