summaryrefslogtreecommitdiffstats
path: root/meta/classes/update-rc.d.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r--meta/classes/update-rc.d.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 19b081d235..3c5414b79b 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -121,7 +121,7 @@ python populate_packages_updatercd () {
121 121
122 # Check that this class isn't being inhibited (generally, by 122 # Check that this class isn't being inhibited (generally, by
123 # systemd.bbclass) before doing any work. 123 # systemd.bbclass) before doing any work.
124 if bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d) and \ 124 if bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d) or \
125 not d.getVar("INHIBIT_UPDATERCD_BBCLASS", True): 125 not d.getVar("INHIBIT_UPDATERCD_BBCLASS", True):
126 pkgs = d.getVar('INITSCRIPT_PACKAGES', True) 126 pkgs = d.getVar('INITSCRIPT_PACKAGES', True)
127 if pkgs == None: 127 if pkgs == None: