diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd_216.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd_216.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd_216.bb b/meta/recipes-core/systemd/systemd_216.bb index 5e76f7c52f..3852841029 100644 --- a/meta/recipes-core/systemd/systemd_216.bb +++ b/meta/recipes-core/systemd/systemd_216.bb | |||
@@ -35,11 +35,13 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;branch=master;protocol= | |||
35 | file://0001-Make-root-s-home-directory-configurable.patch \ | 35 | file://0001-Make-root-s-home-directory-configurable.patch \ |
36 | file://0001-systemd-user-avoid-using-system-auth.patch \ | 36 | file://0001-systemd-user-avoid-using-system-auth.patch \ |
37 | file://0001-journal-Fix-navigating-backwards-missing-entries.patch \ | 37 | file://0001-journal-Fix-navigating-backwards-missing-entries.patch \ |
38 | file://0001-tmpfiles-make-resolv.conf-entry-conditional-on-resol.patch \ | ||
39 | file://0001-build-sys-do-not-install-tmpfiles-and-sysusers-files.patch \ | ||
40 | file://0001-build-sys-configure-the-list-of-system-users-files-a.patch \ | ||
38 | file://touchscreen.rules \ | 41 | file://touchscreen.rules \ |
39 | file://00-create-volatile.conf \ | 42 | file://00-create-volatile.conf \ |
40 | file://init \ | 43 | file://init \ |
41 | file://run-ptest \ | 44 | file://run-ptest \ |
42 | ${@bb.utils.contains('PACKAGECONFIG', 'resolved', '', 'file://0001-tmpfiles.d-etc.conf-disable-resolv.conf-symlink.patch', d)} \ | ||
43 | " | 45 | " |
44 | 46 | ||
45 | S = "${WORKDIR}/git" | 47 | S = "${WORKDIR}/git" |
@@ -151,6 +153,12 @@ do_install() { | |||
151 | 153 | ||
152 | # Enable journal to forward message to syslog daemon | 154 | # Enable journal to forward message to syslog daemon |
153 | sed -i -e 's/.*ForwardToSyslog.*/ForwardToSyslog=yes/' ${D}${sysconfdir}/systemd/journald.conf | 155 | sed -i -e 's/.*ForwardToSyslog.*/ForwardToSyslog=yes/' ${D}${sysconfdir}/systemd/journald.conf |
156 | # its needed in 216 upstream has fixed it with 919699ec301ea507edce4a619141ed22e789ac0d | ||
157 | # don't order journal flushing afte remote-fs.target | ||
158 | sed -i -e 's/ remote-fs.target$//' ${D}${systemd_unitdir}/system/systemd-journal-flush.service | ||
159 | # this file is needed to exist if networkd is disabled but timesyncd is still in use since timesyncd checks it | ||
160 | # for existence else it fails | ||
161 | ${@bb.utils.contains('PACKAGECONFIG', 'networkd', '', 'sed -i -e "\$ad /run/systemd/netif/links 0755 root root -" ${D}${libdir}/tmpfiles.d/systemd.conf', d)} | ||
154 | } | 162 | } |
155 | 163 | ||
156 | do_install_ptest () { | 164 | do_install_ptest () { |
@@ -182,7 +190,7 @@ SYSTEMD_PACKAGES = "${PN}-binfmt" | |||
182 | SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service" | 190 | SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service" |
183 | 191 | ||
184 | USERADD_PACKAGES = "${PN}" | 192 | USERADD_PACKAGES = "${PN}" |
185 | USERADD_PARAM_${PN} += "--system systemd-journal-gateway" | 193 | USERADD_PARAM_${PN} += "--system systemd-journal-gateway; --system systemd-timesync" |
186 | GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal" | 194 | GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal" |
187 | 195 | ||
188 | FILES_${PN}-analyze = "${bindir}/systemd-analyze" | 196 | FILES_${PN}-analyze = "${bindir}/systemd-analyze" |