diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd_208.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd_208.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd_208.bb b/meta/recipes-core/systemd/systemd_208.bb index 66e6beec8a..c1f8d773fb 100644 --- a/meta/recipes-core/systemd/systemd_208.bb +++ b/meta/recipes-core/systemd/systemd_208.bb | |||
@@ -271,8 +271,7 @@ INITSCRIPT_NAME_udev = "systemd-udevd" | |||
271 | INITSCRIPT_PARAMS_udev = "start 03 S ." | 271 | INITSCRIPT_PARAMS_udev = "start 03 S ." |
272 | 272 | ||
273 | python __anonymous() { | 273 | python __anonymous() { |
274 | features = d.getVar("DISTRO_FEATURES", True).split() | 274 | if not oe.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): |
275 | if "sysvinit" not in features: | ||
276 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") | 275 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") |
277 | } | 276 | } |
278 | 277 | ||