Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] systemd: set INHIBIT_UPDATERCD_BBCLASS without sysvinit in features
@ 2013-04-04 16:42 Martin Jansa
  2013-04-04 16:42 ` [PATCH 2/2] dbus: " Martin Jansa
  2013-04-04 16:46 ` [PATCH 1/2] systemd: " Richard Purdie
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Jansa @ 2013-04-04 16:42 UTC (permalink / raw)
  To: openembedded-core

* fixes udev configure in run-postinsts failing with:
  update-rc.d: /etc/init.d/systemd-udev: file does not exist
  because systemd-udev is installed only with sysvinit in features
  but update-rc.d was always called from PN postinst

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-core/systemd/systemd_199.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd_199.bb b/meta/recipes-core/systemd/systemd_199.bb
index ba1d133..e574548 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
 
-- 
1.8.1.5




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-16 15:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 16:42 [PATCH 1/2] systemd: set INHIBIT_UPDATERCD_BBCLASS without sysvinit in features Martin Jansa
2013-04-04 16:42 ` [PATCH 2/2] dbus: " Martin Jansa
2013-04-04 16:46 ` [PATCH 1/2] systemd: " Richard Purdie
2013-04-04 16:55   ` Martin Jansa
2013-04-04 22:38     ` Richard Purdie
2013-04-08 19:03       ` Martin Jansa
2013-04-16 15:11         ` Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox