1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

tmpfiles: add minimal tmpfiles snippet to rebuild the most essential stuff from /etc

This commit is contained in:
Lennart Poettering 2014-06-13 13:29:25 +02:00
parent ecde7065f7
commit 55745f2054
2 changed files with 14 additions and 1 deletions

View File

@ -1742,7 +1742,8 @@ dist_tmpfiles_DATA = \
tmpfiles.d/systemd-nologin.conf \
tmpfiles.d/tmp.conf \
tmpfiles.d/x11.conf \
tmpfiles.d/var.conf
tmpfiles.d/var.conf \
tmpfiles.d/etc.conf
if HAVE_SYSV_COMPAT
dist_tmpfiles_DATA += \

12
tmpfiles.d/etc.conf Normal file
View File

@ -0,0 +1,12 @@
# 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
L /etc/os-release - - - - ../usr/lib/os-release
L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
L /etc/mtab - - - - /proc/self/mounts