tmpfiles: add minimal tmpfiles snippet to rebuild the most essential stuff from /etc
This commit is contained in:
parent
ecde7065f7
commit
55745f2054
|
@ -1742,7 +1742,8 @@ dist_tmpfiles_DATA = \
|
||||||
tmpfiles.d/systemd-nologin.conf \
|
tmpfiles.d/systemd-nologin.conf \
|
||||||
tmpfiles.d/tmp.conf \
|
tmpfiles.d/tmp.conf \
|
||||||
tmpfiles.d/x11.conf \
|
tmpfiles.d/x11.conf \
|
||||||
tmpfiles.d/var.conf
|
tmpfiles.d/var.conf \
|
||||||
|
tmpfiles.d/etc.conf
|
||||||
|
|
||||||
if HAVE_SYSV_COMPAT
|
if HAVE_SYSV_COMPAT
|
||||||
dist_tmpfiles_DATA += \
|
dist_tmpfiles_DATA += \
|
||||||
|
|
12
tmpfiles.d/etc.conf
Normal file
12
tmpfiles.d/etc.conf
Normal 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
|
Loading…
Reference in a new issue