Difference between revisions of "Talk:Getting started with OE-Classic"

From Openembedded.org
Jump to: navigation, search
(About The building time needed)
m (some answers)
Line 1: Line 1:
 
=Changing distro/machine=
 
=Changing distro/machine=
 
* is it safe to change distro on the same oe tree? or mixed staged packages my produce unpredictible results?
 
* is it safe to change distro on the same oe tree? or mixed staged packages my produce unpredictible results?
 +
 +
It is not recommended as results can be disaster. Each distro can define other versions of each of libraries so in the end resulting packages are not what distro wants.
 +
 
* on angstrom build guide you can read that changing machine/libs is safe for *Angstrom*, is it safe for other distro too?
 
* on angstrom build guide you can read that changing machine/libs is safe for *Angstrom*, is it safe for other distro too?
 +
 +
It is safe for any distro.
  
 
=About The building time needed=
 
=About The building time needed=
 
* I have several tries on building the very basic targets (bitbake nano/helloworld/task-base), every time it cannot complete in almost a whole night, on a Intel-3.2G-CPU/512M-Memory machine, so who can tell an approximate building time needed? On Day or one week? Thank you.
 
* I have several tries on building the very basic targets (bitbake nano/helloworld/task-base), every time it cannot complete in almost a whole night, on a Intel-3.2G-CPU/512M-Memory machine, so who can tell an approximate building time needed? On Day or one week? Thank you.
 +
 +
It depends on machine speed and amount of memory. On quad core Intel 2.4GHz with 4GB ram I am able to do console-image in 2-3 hours. But that can be also result of ccache being used with quite big storage used for caching. Build time can be longer for first build due to time required to fetch all sources so keep your DL_DIR outside of TMPDIR so next builds will use already fetched sources. You can also enable parallel make and use more BitBake threads to speed up build time ([http://marcin.juszkiewicz.com.pl/2008/04/07/speeding-up-bitbake-builds/ info how to do it ]).

Revision as of 09:06, 6 May 2009

Changing distro/machine

  • is it safe to change distro on the same oe tree? or mixed staged packages my produce unpredictible results?

It is not recommended as results can be disaster. Each distro can define other versions of each of libraries so in the end resulting packages are not what distro wants.

  • on angstrom build guide you can read that changing machine/libs is safe for *Angstrom*, is it safe for other distro too?

It is safe for any distro.

About The building time needed

  • I have several tries on building the very basic targets (bitbake nano/helloworld/task-base), every time it cannot complete in almost a whole night, on a Intel-3.2G-CPU/512M-Memory machine, so who can tell an approximate building time needed? On Day or one week? Thank you.

It depends on machine speed and amount of memory. On quad core Intel 2.4GHz with 4GB ram I am able to do console-image in 2-3 hours. But that can be also result of ccache being used with quite big storage used for caching. Build time can be longer for first build due to time required to fetch all sources so keep your DL_DIR outside of TMPDIR so next builds will use already fetched sources. You can also enable parallel make and use more BitBake threads to speed up build time (info how to do it ).