diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 14:43:57 +0100 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2017-10-17 04:38:27 +0200 |
commit | 5ef0952789155fb8f649680a32405e407847e457 (patch) | |
tree | e7e630c396f934c6c03384b29ea5b2b445626c1e | |
parent | dfb458dce2fe671a3efe0c61ae582f54f8fff461 (diff) | |
download | openembedded-core-contrib-5ef0952789155fb8f649680a32405e407847e457.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 \ |