summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-13 13:29:25 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-13 13:29:25 +0200
commit55745f2054a1bc132ee415ddd72441bac52b89b6 (patch)
tree9452b80867fae6e2b085c571e551e72290c20439
parentecde7065f7b11a7a226d2f7b0e90e998a6347a59 (diff)
tmpfiles: add minimal tmpfiles snippet to rebuild the most essential stuff from /etc
-rw-r--r--Makefile.am3
-rw-r--r--tmpfiles.d/etc.conf12
2 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index abf8a2bb3e..53082cf2ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
index 0000000000..e8368f5dc6
--- /dev/null
+++ b/tmpfiles.d/etc.conf
@@ -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