]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
systemd-compat-units: Only enable for systemd in DISTRO_FEATURES
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Aug 2016 13:43:57 +0000 (14:43 +0100)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 17 Oct 2017 02:38:27 +0000 (04:38 +0200)
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>
meta/recipes-core/systemd/systemd-compat-units.bb

index 90811da1bce53bf0c3b35674b017ab4a1055024e..f246e83dda7a643f97e2a702ba8f9d2925882d47 100644 (file)
@@ -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 \