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

Koen Kooi k.kooi at student.utwente.nl
Thu Sep 6 08:02:41 CEST 2007


-----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
>> there a way to work around this issue? I am using Bitbake 1.8.9 on Ubuntu
>> 7.04 with Database Version: f187242e911a395651f8c0b903c471eaa5944ab9.
> 
> see http://bugs.openembedded.org/show_bug.cgi?id=2897


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.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFG35gAMkyGM64RGpERAueaAJ9NFaam+qm/00Y+Fe+ZG6uANPG2wQCbBQFv
8hpILEVjai+oLNr/XePITms=
=5dY/
-----END PGP SIGNATURE-----



More information about the Angstrom-distro-devel mailing list