Merge commit 'd31db523c89c0fd97711e9857da003b77b822cd1' into dora

This commit is contained in:
Holger Hans Peter Freyther 2015-02-15 12:10:18 +01:00
commit 884d2dfa6f
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
# See tmpfiles.d(5) for details
# These files are considered legacy and are unnecessary on legacy-free
# systems.
d /run/lock 0775 root root -
# /run/lock/subsys is used for serializing SysV service execution, and
# hence without use on SysV-less systems.
d /run/lock/subsys 0755 root root -
# /run/lock/lockdev is used to serialize access to tty devices via
# LCK..xxx style lock files, For more information see:
# http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html
# On modern systems a BSD file lock is a better choice if
# serialization is needed on those devices.
d /run/lock/lockdev 0775 root lock -
# /forcefsck, /fastboot and /forcequotecheck are deprecated in favor of the
# kernel command line options 'fsck.mode=force', 'fsck.mode=skip' and
# 'quotacheck.mode=force'
r /forcefsck
r /fastboot
r /forcequotacheck

View File

@ -4,6 +4,7 @@ FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:"
PRINC="24"
SRC_URI += "file://journald.conf \
file://legacy.conf \
file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \
"
@ -46,6 +47,7 @@ pkg_postinst_${PN}_append () {
do_install_append() {
install -m 0644 ${WORKDIR}/journald.conf ${D}${sysconfdir}/systemd/
install -m 0644 ${WORKDIR}/legacy.conf ${D}/usr/lib/tmpfiles.d/
if [ -e ${WORKDIR}/system.conf ]; then
install -m 0644 ${WORKDIR}/system.conf ${D}${sysconfdir}/systemd/