mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
zram: fix RDEPENDS for systemd service
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a056a834c4
commit
4aa12df389
|
|
@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
|||
|
||||
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"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user