summaryrefslogtreecommitdiff
path: root/src/boot/ostree-tmpfiles.conf
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2022-03-10 16:46:53 -0500
committerColin Walters <walters@verbum.org>2022-03-11 13:08:23 -0500
commit0d020a7145da488d4939975860569a5d8841aaab (patch)
treed5b3fe73b86c685aade0be9a3703fed7a34545b3 /src/boot/ostree-tmpfiles.conf
parent0d6e66b57a2142750e54d734a4e2422293a0d75d (diff)
downloadostree-0d020a7145da488d4939975860569a5d8841aaab.tar.gz
tmpfiles: Create `/run/ostree`
This is referenced by https://github.com/ostreedev/ostree-rs-ext/blob/9645cee4f29786ba51ae9d62a52eeef9230146fd/lib/src/globals.rs#L16 specifically used for the (container image) pull secret in `/run/ostree/auth.json`. Let's pre-create the directory so users don't have to. Motivated by https://github.com/openshift/machine-config-operator/pull/3007#discussion_r824172564
Diffstat (limited to 'src/boot/ostree-tmpfiles.conf')
-rw-r--r--src/boot/ostree-tmpfiles.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/ostree-tmpfiles.conf b/src/boot/ostree-tmpfiles.conf
index 4cbba0bd..69c2d3f3 100644
--- a/src/boot/ostree-tmpfiles.conf
+++ b/src/boot/ostree-tmpfiles.conf
@@ -13,5 +13,7 @@
# You should have received a copy of the GNU Lesser General Public
# License along with this library. If not, see <https://www.gnu.org/licenses/>.
+# ostree runtime configuration
+d /run/ostree 0755 root root -
# https://github.com/ostreedev/ostree/issues/393
R! /var/tmp/ostree-unlock-ovl.*