[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1952/8267] systemd-compat-units: Only enable for systemd in DISTRO_FEATURES



commit 70ccc66126552c0b9b606c7010ea6c3e737b2463
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   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.
    
    (From OE-Core rev: 5dca6cc2fcdb2799c19b1697f0647a16ce296290)
    
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 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 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 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]