From: Richard Purdie Date: Thu, 18 Aug 2016 13:43:57 +0000 (+0100) Subject: systemd-compat-units: Only enable for systemd in DISTRO_FEATURES X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24618 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dca6cc2fcdb2799c19b1697f0647a16ce296290;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb index 90811da1bce..f246e83dda7 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 \