You are not logged in.

#1 2005-10-08 21:20:24

bogomipz
Member
From: Oslo, Norway
Registered: 2003-11-23
Posts: 169

cvs through ssh in fakeroot

Hi,

When using cvs with ssh in a PKGBUILD,

CVS_RSH=ssh cvs -d $_cvsroot -Q -z3 co -D $pkgver -f $_cvsmod || return 1

fakeroot makes cvs try to access root's homedir for known hosts information. This obviously doesn't work, and I have to type 'yes' to precede:

Could not create directory '/root/.ssh'.
The authenticity of host 'savannah.gnu.org (199.232.41.3)' can't be established.
RSA key fingerprint is 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/root/.ssh/known_hosts).

Is there any way to get around this? Has anybody successfully used cvs through ssh in a PKGBUILD? Building as root is of course not an option because of the risk of barfing all over the file system.


All of your mips are belong to us!!

Offline

Board footer

Powered by FluxBB