summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-11-13 14:32:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-14 13:39:10 +0000
commitd2380c683d5411e7a85c3ce80115aea329187534 (patch)
treec1af9b1ffb7819d5e6cd3afcc8c48da1ad6b839b /meta/classes
parent70bd620b58ddd90477d9f438922ee3bdc7e8c5a5 (diff)
downloadopenembedded-core-d2380c683d5411e7a85c3ce80115aea329187534.tar.gz
openembedded-core-d2380c683d5411e7a85c3ce80115aea329187534.tar.bz2
openembedded-core-d2380c683d5411e7a85c3ce80115aea329187534.zip
systemd: fix comments
It's DISTRO_FEATURES; DISTRO_FEATURE is invalid. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/systemd.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index 3700b2eee3..7a8d35cd2f 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -9,8 +9,8 @@ SYSTEMD_PACKAGES_class-nativesdk ?= ""
SYSTEMD_AUTO_ENABLE ??= "enable"
# This class will be included in any recipe that supports systemd init scripts,
-# even if the systemd DISTRO_FEATURE isn't enabled. As such don't make any
-# changes directly but check the DISTRO_FEATURES first.
+# even if systemd is not in DISTRO_FEATURES. As such don't make any changes
+# directly but check the DISTRO_FEATURES first.
python __anonymous() {
features = d.getVar("DISTRO_FEATURES", True).split()
# If the distro features have systemd but not sysvinit, inhibit update-rcd