summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
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 ?= ""
9SYSTEMD_AUTO_ENABLE ??= "enable" 9SYSTEMD_AUTO_ENABLE ??= "enable"
10 10
11# This class will be included in any recipe that supports systemd init scripts, 11# This class will be included in any recipe that supports systemd init scripts,
12# even if the systemd DISTRO_FEATURE isn't enabled. As such don't make any 12# even if systemd is not in DISTRO_FEATURES. As such don't make any changes
13# changes directly but check the DISTRO_FEATURES first. 13# directly but check the DISTRO_FEATURES first.
14python __anonymous() { 14python __anonymous() {
15 features = d.getVar("DISTRO_FEATURES", True).split() 15 features = d.getVar("DISTRO_FEATURES", True).split()
16 # If the distro features have systemd but not sysvinit, inhibit update-rcd 16 # If the distro features have systemd but not sysvinit, inhibit update-rcd