summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/systemd/systemd_199.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_199.bb b/meta/recipes-core/systemd/systemd_199.bb
index ba1d13390d..e5745483dc 100644
--- a/meta/recipes-core/systemd/systemd_199.bb
+++ b/meta/recipes-core/systemd/systemd_199.bb
@@ -239,6 +239,12 @@ INITSCRIPT_PACKAGES = "udev"
INITSCRIPT_NAME_udev = "systemd-udevd"
INITSCRIPT_PARAMS_udev = "start 03 S ."
+python __anonymous() {
+ features = d.getVar("DISTRO_FEATURES", True).split()
+ if "sysvinit" not in features:
+ d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
+}
+
# TODO:
# u-a for runlevel and telinit