diff options
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 29b5a8ea27..c9bf04c4f8 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -105,7 +105,7 @@ python populate_packages_updatercd () { | |||
105 | 105 | ||
106 | # Check that this class isn't being inhibited (generally, by | 106 | # Check that this class isn't being inhibited (generally, by |
107 | # systemd.bbclass) before doing any work. | 107 | # systemd.bbclass) before doing any work. |
108 | if "sysvinit" in d.getVar("DISTRO_FEATURES").split() or \ | 108 | if oe.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d) or \ |
109 | not d.getVar("INHIBIT_UPDATERCD_BBCLASS", True): | 109 | not d.getVar("INHIBIT_UPDATERCD_BBCLASS", True): |
110 | pkgs = d.getVar('INITSCRIPT_PACKAGES', True) | 110 | pkgs = d.getVar('INITSCRIPT_PACKAGES', True) |
111 | if pkgs == None: | 111 | if pkgs == None: |