From: Martin Pitt Date: Fri, 12 Jul 2019 12:58:29 +0000 (+0200) Subject: build-devmock: Fix ssh X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=4e1337a1ef541ef1060b3042ce3bcf0058ed45b8;p=bin.git build-devmock: Fix ssh ssh looks at passwd's home directory, not $HOME --- diff --git a/build-devmock b/build-devmock index 2e50451..fabee7a 100755 --- a/build-devmock +++ b/build-devmock @@ -28,3 +28,7 @@ EOF # make mock compatible with ostree's /home → /var/home structure mock -r ${OS:-default} --chroot -- ln -sf /home /var/home + +# ssh looks at passwd, not $HOME +mock -r ${OS:-default} --chroot --unpriv -- rm -rf /builddir/.ssh +mock -r ${OS:-default} --chroot --unpriv -- ln -s /home/martin/.ssh /builddir/.ssh