diff options
| -rw-r--r-- | meta-systemd/recipes-core/systemd/systemd/var-run.conf | 4 | ||||
| -rw-r--r-- | meta-systemd/recipes-core/systemd/systemd_git.bb | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/meta-systemd/recipes-core/systemd/systemd/var-run.conf b/meta-systemd/recipes-core/systemd/systemd/var-run.conf new file mode 100644 index 0000000000..c2c18e2b99 --- /dev/null +++ b/meta-systemd/recipes-core/systemd/systemd/var-run.conf | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | # empty /var/run | ||
| 2 | R /var/run/* - - - - - | ||
| 3 | # systemd-update-utmp-runlevel.service fails to start without this | ||
| 4 | f /var/run/utmp 0644 root root - - | ||
diff --git a/meta-systemd/recipes-core/systemd/systemd_git.bb b/meta-systemd/recipes-core/systemd/systemd_git.bb index 9cbdd76c13..386843845c 100644 --- a/meta-systemd/recipes-core/systemd/systemd_git.bb +++ b/meta-systemd/recipes-core/systemd/systemd_git.bb | |||
| @@ -19,7 +19,7 @@ inherit gitpkgv | |||
| 19 | PKGV = "v${GITPKGVTAG}" | 19 | PKGV = "v${GITPKGVTAG}" |
| 20 | 20 | ||
| 21 | PV = "git" | 21 | PV = "git" |
| 22 | PR = "r2" | 22 | PR = "r3" |
| 23 | 23 | ||
| 24 | inherit useradd pkgconfig autotools vala perlnative | 24 | inherit useradd pkgconfig autotools vala perlnative |
| 25 | 25 | ||
| @@ -29,6 +29,7 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \ | |||
| 29 | file://gtk-doc.make \ | 29 | file://gtk-doc.make \ |
| 30 | file://touchscreen.rules \ | 30 | file://touchscreen.rules \ |
| 31 | file://modprobe.rules \ | 31 | file://modprobe.rules \ |
| 32 | file://var-run.conf \ | ||
| 32 | " | 33 | " |
| 33 | LDFLAGS_libc-uclibc_append = " -lrt" | 34 | LDFLAGS_libc-uclibc_append = " -lrt" |
| 34 | 35 | ||
| @@ -82,6 +83,8 @@ do_install() { | |||
| 82 | touch ${D}${sysconfdir}/machine-id | 83 | touch ${D}${sysconfdir}/machine-id |
| 83 | 84 | ||
| 84 | install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ | 85 | install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ |
| 86 | |||
| 87 | install -m 0644 ${WORKDIR}/var-run.conf ${D}${sysconfdir}/tmpfiles.d/ | ||
| 85 | } | 88 | } |
| 86 | 89 | ||
| 87 | python populate_packages_prepend (){ | 90 | python populate_packages_prepend (){ |
