From 5dca6cc2fcdb2799c19b1697f0647a16ce296290 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 18 Aug 2016 14:43:57 +0100 Subject: systemd-compat-units: Only enable for systemd in DISTRO_FEATURES This recipe only makes sense when systemd is enabled and otherwise causes world build failures. Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd-compat-units.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb index 90811da1bc..f246e83dda 100644 --- a/meta/recipes-core/systemd/systemd-compat-units.bb +++ b/meta/recipes-core/systemd/systemd-compat-units.bb @@ -9,10 +9,12 @@ DEPENDS = "systemd-systemctl-native" S = "${WORKDIR}" -inherit allarch +inherit allarch distro_features_check ALLOW_EMPTY_${PN} = "1" +REQUIRED_DISTRO_FEATURES = "systemd" + SYSTEMD_DISABLED_SYSV_SERVICES = " \ busybox-udhcpc \ hwclock \ -- cgit v1.2.3