diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 14:43:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-18 16:52:06 +0100 |
commit | 70ccc66126552c0b9b606c7010ea6c3e737b2463 (patch) | |
tree | 6f12b6cba8b9df3afbd7b79297ddd8da3726c59b /meta/recipes-core | |
parent | bcc8b87c7242ff7daa87afea697bcce282998dc7 (diff) | |
download | poky-70ccc66126552c0b9b606c7010ea6c3e737b2463.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.
(From OE-Core rev: 5dca6cc2fcdb2799c19b1697f0647a16ce296290)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-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" | |||
9 | 9 | ||
10 | S = "${WORKDIR}" | 10 | S = "${WORKDIR}" |
11 | 11 | ||
12 | inherit allarch | 12 | inherit allarch distro_features_check |
13 | 13 | ||
14 | ALLOW_EMPTY_${PN} = "1" | 14 | ALLOW_EMPTY_${PN} = "1" |
15 | 15 | ||
16 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
17 | |||
16 | SYSTEMD_DISABLED_SYSV_SERVICES = " \ | 18 | SYSTEMD_DISABLED_SYSV_SERVICES = " \ |
17 | busybox-udhcpc \ | 19 | busybox-udhcpc \ |
18 | hwclock \ | 20 | hwclock \ |