diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 14:43:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 16:52:02 +0100 |
commit | 5dca6cc2fcdb2799c19b1697f0647a16ce296290 (patch) | |
tree | 2f51cf9b5c23e8c662ed9d72e0ca9db181ddc81e | |
parent | 8183309080aee45746daaff46b0506b09b5bd269 (diff) | |
download | openembedded-core-5dca6cc2fcdb2799c19b1697f0647a16ce296290.tar.gz openembedded-core-5dca6cc2fcdb2799c19b1697f0647a16ce296290.tar.bz2 openembedded-core-5dca6cc2fcdb2799c19b1697f0647a16ce296290.zip |
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 <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/systemd/systemd-compat-units.bb | 4 |
1 files changed, 3 insertions, 1 deletions
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 \ |