[oe-commits] [openembedded-core] 02/02: systemd-compat-units: Only enable for systemd in DISTRO_FEATURES
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 18 15:52:34 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 5dca6cc2fcdb2799c19b1697f0647a16ce296290
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Aug 18 14:43:57 2016 +0100
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 at linuxfoundation.org>
---
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 90811da..f246e83 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 \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list