[OE-core] [ross/systemd][PATCH 1/2] systemd: disable udev initscript when systemd is active

Andreas Oberritter obi at opendreambox.org
Mon Mar 18 15:49:43 UTC 2013


* systemd's unit is called "systemd-udev", which doesn't
  match the name of the initscript

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
---
 meta/recipes-core/systemd/systemd_197.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb
index 50d052f..6ce3890 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -106,6 +106,7 @@ do_install() {
 	if ${@base_contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
 		install -d ${D}${sysconfdir}/init.d
 		install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
+		ln -sf /dev/null ${D}${systemd_unitdir}/system/udev.service
 	fi
 }
 
-- 
1.7.10.4





More information about the Openembedded-core mailing list