chiark / gitweb /
tmpfiles: add minimal tmpfiles snippet to rebuild the most essential stuff from /etc
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Jun 2014 11:29:25 +0000 (13:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 13 Jun 2014 11:29:25 +0000 (13:29 +0200)
Makefile.am
tmpfiles.d/etc.conf [new file with mode: 0644]

index abf8a2bb3e902b0b08e084010ee835362e4b04de..53082cf2aba1481c0c39f67cf3e9e1a7159c8670 100644 (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 += \
diff --git a/tmpfiles.d/etc.conf b/tmpfiles.d/etc.conf
new file mode 100644 (file)
index 0000000..e8368f5
--- /dev/null
@@ -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