Skip to content

Commit

Permalink
basic-fixes: Tweak tmpfiles.d/rpm-ostree-0-integration.conf
Browse files Browse the repository at this point in the history
As a followup for CentOS#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 containers/bootc#358
  • Loading branch information
mvo5 committed Mar 18, 2024
1 parent b46acf2 commit 7a37c9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tier-0/basic-fixes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7a37c9e

Please sign in to comment.