summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-18 14:43:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-18 16:52:06 +0100
commit70ccc66126552c0b9b606c7010ea6c3e737b2463 (patch)
tree6f12b6cba8b9df3afbd7b79297ddd8da3726c59b /meta
parentbcc8b87c7242ff7daa87afea697bcce282998dc7 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-core/systemd/systemd-compat-units.bb4
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
10S = "${WORKDIR}" 10S = "${WORKDIR}"
11 11
12inherit allarch 12inherit allarch distro_features_check
13 13
14ALLOW_EMPTY_${PN} = "1" 14ALLOW_EMPTY_${PN} = "1"
15 15
16REQUIRED_DISTRO_FEATURES = "systemd"
17
16SYSTEMD_DISABLED_SYSV_SERVICES = " \ 18SYSTEMD_DISABLED_SYSV_SERVICES = " \
17 busybox-udhcpc \ 19 busybox-udhcpc \
18 hwclock \ 20 hwclock \