Skip to content

Commit

Permalink
basic-fixes: Tweak tmpfiles.d/provision.conf
Browse files Browse the repository at this point in the history
As a followup for CentOS#371
this PR tweaks `tmpfiles.d/provision.conf` so
that there is only a single /var/roothome line for tmpfiles.d

As it is both provision.conf and rpm-ostree-0-integration.conf
define the same dir.

This should fix containers/bootc#358
  • Loading branch information
mvo5 committed Mar 18, 2024
1 parent b46acf2 commit 8ee104d
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 also defined in rpm-ostree-0-integration.conf
# we need to delete /var/roothome
sed -ie '/^d- \/var\/roothome /d' /usr/lib/tmpfiles.d/provision.conf

0 comments on commit 8ee104d

Please sign in to comment.