Merge pull request #440 from mvo5/fix-roothome

basic-fixes: Tweak basic-fixes: Tweak tmpfiles.d/provision.conf
This commit is contained in:
Colin Walters 2024-03-18 10:46:32 -04:00 committed by GitHub
commit ecb02545d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -24,3 +24,6 @@ postprocess:
# work if we want to use tmpfiles.d to write to `/root/.ssh` because # work if we want to use tmpfiles.d to write to `/root/.ssh` because
# tmpfiles gives up on that before getting to `/var/roothome`. # tmpfiles gives up on that before getting to `/var/roothome`.
sed -ie 's, /root, /var/roothome,' /usr/lib/tmpfiles.d/provision.conf 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