[Angstrom-devel] How to handle parsing svn recipies when offline?

Paul Sokolovsky pmiscml at gmail.com
Wed Sep 12 23:46:48 CEST 2007


Hello Koen,

Thursday, September 6, 2007, 9:02:41 AM, you wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> Koen Kooi schreef:
>> Hans Henry von Tresckow schreef:
>>> I have run into an interesting problem:
>> 
>>> I am trying to debug some build issues I had last night. The problem is that
>>> now that I am here at work, my build laptop does not have a working internet
>>> connection. When bitbake tries to parse recipes that use the svn fetcher,
>>> they error out while trying to call svn info during the parsing stage. Is

[]

> For a more finegrained fallback:

> bitbake -s | grep svnr  | awk '{print "SRCREV_pn-" $1 "=" $2}' | \
> sed -e s:\+:\=:g -e s:svnr::g| awk -F "=" '{print $1 "=\"" $3}' | \
> awk -F "-r" '{print $1"\""}'

> and add the output to a conf file somewhere.

  Ok, the current state is: there's now
"conf/distro/include/sane-srcrevs.inc" file which contains such pinned
revisions. However, so far you need to include it manually, add
following to local.conf:

-----
require conf/distro/include/sane-srcrevs.inc
-----

  Be careful and spell it right, don't make stupid mistakes like me who
had "sane-srcdates.inc" and cried for why it doesn't work ;-\.


  And I would like to propose to include it in angstrom distro config
by default, to save others the trouble.

> regards,

> Koen

[]

-- 
Best regards,
 Paul                            mailto:pmiscml at gmail.com




More information about the Angstrom-distro-devel mailing list