OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Open Embedded => Topic started by: sbala04 on April 02, 2005, 04:34:47 am

Title: Bitbake: How To Download Source Code?
Post by: sbala04 on April 02, 2005, 04:34:47 am
I have a question about OE/Bitbake. I was reading the getting started and would like to first let bitbake download source code for say "opie-image". Is this possible?

The page says if I use the command "bitbake opie-image" not only it will build the entire opie image, but also I would need 35Gig of free space.

IF you guys have any other way to get source code for OZ(Collie) let me know...
Title: Bitbake: How To Download Source Code?
Post by: lardman on April 02, 2005, 04:40:17 am
Bitbake downloads the source as it goes along - it downloads the source required for a single package, then builds and packages it, then moves onto the next.

35GB is not required for a bitbake opie-image - for a bitbake world perhaps.

If you just want to download the source, you can tell bitbake to just perform the download step. The exact command escapes me (look on the OE mailing list) but it's something along the lines of:

bitbake -c fetch opie-image


Si
Title: Bitbake: How To Download Source Code?
Post by: CoreDump on April 02, 2005, 06:22:31 am
bitbake opie-image is about 3-5GB IIRC
Title: Bitbake: How To Download Source Code?
Post by: sbala04 on April 04, 2005, 01:47:22 am
Thanks a lot!

The command is indeed -cfetch. Unfortunately mine stopped working while fetching mtd! I need to look at why and try to add more mirrors I guess. Anybody facing download problems of late?
Title: Bitbake: How To Download Source Code?
Post by: adf on April 04, 2005, 02:19:10 am
my kernel cross compiling stuff seems to have gone south.. but I get all the sources ok it seems