Problems with svn + build system?

Sudharshan S sudharsh at gmail.com
Tue Oct 16 13:07:42 CEST 2007


On Tue, 2007-10-16 at 11:52 +0200, Michael 'Mickey' Lauer wrote:

> 
> Sorry, I forgot to add that once you use SRCREV to always check out
> the latest version, you will have to add two more things:
> 
> a) SRCREV_pn-python-gsmd = "${AUTOREV}"
> 
> and
> 
> b) a small fix for bitbake's autorev behaviour:
> 
> Index: lib/bb/fetch/svn.py
> ===================================================================
> --- lib/bb/fetch/svn.py (revision 970)
> +++ lib/bb/fetch/svn.py (working copy)
> @@ -77,6 +77,9 @@
>                  if rev and "get_srcrev" in rev:
>                      ud.revision = self.latest_revision(url, ud, d)
>                      ud.date = ""
> +                elif rev and "AUTOREV" in rev:
> +                    ud.revision = self.latest_revision(url, ud, d)
> +                    ud.date = ""
>                  elif rev:
>                      ud.revision = rev
>                      ud.date = "" 
> 
> To improve quality and stability, we no longer use floating SRCREV's
> in OpenEmbedded .dev, that's why you have to do a) to enable it
> explicitly for a package.
> 
> Hope that helps.

Thanks a lot, that helped..=D,

I really think this should be documented in a place where developers can
find them easily (I certainly had a hard time :P) as and when different
projects get their code into their scm. I do understand about the
stability part though,

Thanks for your time once again                     
-- 
Sudharshan S
http://www.sudharsh.wordpress.com




More information about the openmoko-devel mailing list