]> piware.de Git - bin.git/blobdiff - build-devmock
build-devmock: Fix ssh
[bin.git] / build-devmock
index 2e50451f1b595ac9203c1c5af1da81e9feecc5b1..fabee7a2ea82b614e55e1a45b9187d3fddf5bd93 100755 (executable)
@@ -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
 
 # 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