Skip to content

Commit dfa77fe

Browse files
lint: Ignore /var/roothome/.ssh
Installing `systemd-ukify` also ends up creating `/var/roothome/.ssh`. Add this exception to tempfile exclusions See: #2177 Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
1 parent 31b5a13 commit dfa77fe

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎hack/provision-configure.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ f /var/roothome/buildinfo/content_manifests/content-sets.json 0644 - - -
7373
EOF
7474
fi
7575

76+
if ! grep -q -r var/roothome/.ssh /usr/lib/tmpfiles.d; then
77+
cat >> /usr/lib/tmpfiles.d/var-roothome-ssh.conf <<'EOF'
78+
f /var/roothome/.ssh 0644 - - -
79+
EOF
80+
81+
fi
82+
7683
# And add missing sysusers.d entries
7784
if ! grep -q -r sudo /usr/lib/sysusers.d; then
7885
cat >/usr/lib/sysusers.d/bootc-sudo-workaround.conf <<'EOF'

0 commit comments

Comments
 (0)