Hello!

What is the best way to code a recipe which always fetches HEAD from a SCM? Without accessing mirror servers first?

For some internal packages which are still WIP I would like to fetch the newest sourcecode from a git server whenever I do a "-c clean" and rebuild. I've experimented with AUTOREV and SRCREV but without adding "tag=HEAD" this fails and when I add HEAD bitbake refers to a tar.bz2 built some days ago. Maybe related to that I would like to fetch from a branch?

Below my latest try, this tries to fetch revision "1" (?) from git :-(

bitbake version 1.8.18
openembedded stable branch

----------------
PV = "0.0.0+gitr${SRCREV}"
PR = "r0"

SRC_URI = \
        "git://[email protected]/prog.git;protocol=ssh+git;branch=devel \
        "

S = "${WORKDIR}/git"

inherit cmake
----------------

Any pointers? I've searched the wiki and existing recipes but this way to fetch is obviously uncommon for public recipes.

Bye,
  Vitus

--
Vitus Jensen, Hannover, Germany, Universe (current)
pgp public key available from keyservers

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to