[Openembedded-users] Fetching sources from CVS with SSH authentication key

Jernej Turnsek jernej.turnsek at gmail.com
Tue Sep 8 11:26:06 UTC 2009


Hi,

I am working on an internal project in our company and I am using
OpenEmbedded for building the system. We have an application witch is on our
internal CVS repository and I would like to write a bitbake recipe for it.
The problem is that I have to use SSH authentication key for accessing the
source code. Question is how I describe this in my recipe. Here is my
current recipe which doesn't work with our CVS server:

>>>>>>>>>>>>>

DESCRIPTION = "IEThread library implementation"
SECTION = "libs"
DEPENDS = ""
LICENSE = "Our license"
PR = "r0"

SRC_URI = "cvs://jernej@omen3
/cvsroot/ie/embedded/lib/iethread;rsh=ssh;port=22;module=iethread"

#build this:
S = "${WORKDIR}/${PN}-${PV}"

inherit autotools pkgconfig

do_stage() {
    autotools_stage_all
}

<<<<<<<<<<<<<


Error messages from the bitbake console suggest that fetch process doesn't
know anything about the SSH authentication, or am I am wrong.

>>>>>>>>>>>>>

NOTE: Fetch cvs://jernej@omen3
/cvsroot/ie/embedded/lib/iethread;rsh=ssh;port=22;module=iethread
cvs checkout: CVS password file /home/jernej/.cvspass does not exist -
creating a new file
cvs [checkout aborted]: unrecognized auth response from omen3:
SSH-1.99-OpenSSH_4.2
NOTE: Task failed: Fetch failed: iethread
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/opt/bluey/oe/local/recipes/libiethread/libiethread.bbdo_fetch failed
ERROR: Task 2 (/opt/bluey/oe/local/recipes/libiethread/libiethread.bb,
do_fetch) failed
NOTE: Tasks Summary: Attempted 419 tasks of which 419 didn't need to be
rerun and 1 failed.
ERROR: '/opt/bluey/oe/local/recipes/libiethread/libiethread.bb' failed

<<<<<<<<<<<<<


BR,

Jernej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090908/af6a1412/attachment-0002.html>


More information about the Openembedded-users mailing list