diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 14:43:57 +0100 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2017-06-26 22:57:19 +0200 |
commit | 095735f423b94b0e9f9de94934a56be6af332276 (patch) | |
tree | ad419c4074791a8195a96a3027b9f0b038a67337 | |
parent | 2579a0b45d841adf69ee2c1e03e5bfe861db46a9 (diff) | |
download | openembedded-core-contrib-095735f423b94b0e9f9de94934a56be6af332276.tar.gz |
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>
(cherry picked from commit 5dca6cc2fcdb2799c19b1697f0647a16ce296290)
Signed-off-by: Andreas Oberritter <obi@opendreambox.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 \ |