All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] systemd: create /var/run/utmp
@ 2012-05-17  9:23 Martin Jansa
  2012-05-17  9:56 ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2012-05-17  9:23 UTC (permalink / raw)
  To: openembedded-devel

* it was created by volatiles before, but without sysvinit
  systemd-update-utmp-runlevel.service fails to start without this

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

diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index f4ca72a..943d955 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -14,7 +14,7 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r27"
+PR = "r28"
 
 inherit useradd pkgconfig autotools vala perlnative
 
@@ -68,6 +68,10 @@ do_install() {
 	# create machine-id
 	# 20:12 < mezcalero> koen: you have three options: a) run systemd-machine-id-setup at install time, b) have / read-only and an empty file there (for stateless) and c) boot with / writable
 	touch ${D}${sysconfdir}/machine-id
+	
+	# systemd-update-utmp-runlevel.service fails to start without this
+	install -d ${D}${localstatedir}/run
+	touch ${D}${localstatedir}/run/utmp
 }
 
 python populate_packages_prepend (){
-- 
1.7.8.6




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

end of thread, other threads:[~2012-05-17 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17  9:23 [meta-oe][PATCH] systemd: create /var/run/utmp Martin Jansa
2012-05-17  9:56 ` Koen Kooi
2012-05-17 10:04   ` Otavio Salvador
2012-05-17 11:04   ` Martin Jansa
2012-05-17 12:16     ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.