From 55c2fc0285f2824fb68f0818ed7b5c3e75d7a9ec Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 18 Mar 2024 09:52:46 +0100 Subject: [PATCH] basic-fixes: Tweak tmpfiles.d/rpm-ostree-0-integration.conf As a followup for https://github.com/CentOS/centos-bootc/pull/371 this PR tweaks `tmpfiles.d/rpm-ostree-0-integration.conf` too so that there is only a single /var/roothome line for tmpfiles.d. This should fix https://github.com/containers/bootc/issues/358 --- tier-0/basic-fixes.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tier-0/basic-fixes.yaml b/tier-0/basic-fixes.yaml index 940d71dd..f0acb9f3 100644 --- a/tier-0/basic-fixes.yaml +++ b/tier-0/basic-fixes.yaml @@ -24,3 +24,6 @@ postprocess: # work if we want to use tmpfiles.d to write to `/root/.ssh` because # tmpfiles gives up on that before getting to `/var/roothome`. sed -ie 's, /root, /var/roothome,' /usr/lib/tmpfiles.d/provision.conf + # Because /var/roothome is now already defined above we need to remove it + # from the rpm-ostree-0-integration.conf + sed -ie '^/d \/var\/roothome /d' /usr/lib/tmpfiles.d/rpm-ostree-0-integration.conf