From a686e1f4faff8f9931d5b3bd862fc7ccac1cdb0b Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Fri, 30 Apr 2021 15:58:05 +0200 Subject: [PATCH] packagegroup-dey-core: fix build error on platforms without systemd for system-monitor recipe Recipe system-monitor has a dependency with systemd package, however it was added unconditionally for all platforms. This commit adds a protection to include this recipe only when systemd is present in the DISTRO_FEATURES https://jira.digi.com/browse/DEL-7508 Signed-off-by: Arturo Buzarra --- .../recipes-core/packagegroups/packagegroup-dey-core.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-core/packagegroups/packagegroup-dey-core.bb b/meta-digi-dey/recipes-core/packagegroups/packagegroup-dey-core.bb index e7b81cdb1..639bb7e5c 100644 --- a/meta-digi-dey/recipes-core/packagegroups/packagegroup-dey-core.bb +++ b/meta-digi-dey/recipes-core/packagegroups/packagegroup-dey-core.bb @@ -50,7 +50,7 @@ RDEPENDS_${PN} = "\ ${@bb.utils.contains('MACHINE_FEATURES', 'pci', 'pciutils', '',d)} \ recovery-utils \ sysinfo \ - system-monitor \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'system-monitor', '',d)} \ usbutils \ ${VIRTUAL-RUNTIME_base-utils} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', '${VIRTUAL-RUNTIME_base-utils-acpid}', d)} \