summaryrefslogtreecommitdiff
path: root/src/boot/ostree-tmpfiles.conf
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-08-17 14:00:08 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-08-17 18:38:45 +0000
commite6a4203c52d68ca8fe7c5e60e127141e1c4ea7ee (patch)
tree57e7c7ae5f8c305b9586e3eb5f042dbf409b12b2 /src/boot/ostree-tmpfiles.conf
parentbd9e931b332957f82ef69742048bf6cb3da3be12 (diff)
downloadostree-e6a4203c52d68ca8fe7c5e60e127141e1c4ea7ee.tar.gz
boot: Add a tmpfiles.d snippet to clean up /var/tmp/ostree-ovl.XXX
This is simplest for now. Compare with similar logic from `/usr/lib/tmpfiles.d/tmp.conf`: ``` R! /tmp/systemd-private-* ``` Closes: https://github.com/ostreedev/ostree/issues/393 Closes: #1090 Approved by: jlebon
Diffstat (limited to 'src/boot/ostree-tmpfiles.conf')
-rw-r--r--src/boot/ostree-tmpfiles.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/boot/ostree-tmpfiles.conf b/src/boot/ostree-tmpfiles.conf
new file mode 100644
index 00000000..49e2dcb3
--- /dev/null
+++ b/src/boot/ostree-tmpfiles.conf
@@ -0,0 +1,19 @@
+# Copyright (C) 2017 Colin Walters <walters@verbum.org>
+#
+# This library 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 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+# https://github.com/ostreedev/ostree/issues/393
+R! /var/tmp/ostree-unlock-ovl.*