[oe] OE.dev staging changes - Progress so far

Richard Purdie rpurdie at rpsys.net
Thu Nov 19 15:39:44 UTC 2009


Its been 10 days since I posted the summary and started pushing some of
the changes. There have been some bumps but the changes so far seem to
have settled down quite well.

The proposals and status is as follows:

a) Adopt the removal of the layout_* variables from Poky.

Done.

b) Change the do_populate_staging/do_stage functions to use the results 
   from the do_install step as proposed in other emails

Implemented but many recipes still use the legacy path.

c) Adopt the native.bbclass changes from Poky to allow use of 
   BBCLASSEXTEND = "native"

Done.

d) Start removing legacy do_stage functions and convert exclusively to 
   the new model

Not really started yet. Poky has now converted all of its recipes to the
new model and has no legacy staging however so there are plenty of
examples out there.

e) Start converting recipes to BBCLASSEXTEND = "native"

Not really started yet. Poky has conversions of many recipes.

f) Merge the new canadian SDK classes from Poky and start a gradual 
   conversion to them with a view to obsoleting the existing sdk and 
   canadian recipes.

The classes have been merged.

g) Rename "do_populate_staging" to "do_populate_sysroot" and 
   "TMPDIR/staging" to "TMPDIR/sysroots" to reflect how much this 
   directory has changed and to truly reflect its contents. The word 
   "staging" confuses a lot of new users in my experience.

Implemented in Poky but not ported to OE yet.

h) Enable packaged staging as default, with a view to making it
   mandatory after a suitable transition period.

Not done yet.


So to summarise, the list of tasks remaining is therefore:

a) Generate a list of recipes using legacy staging during parsing and 
   save it into tmp?
b) Start to convert recipes to use do_install for staging. Poky has 
   many examples.
c) Start to add BBCLASSEXTEND = "native" to recipes
d) Start to add BBCLASSEXTEND = "nativesdk" to recipes
e) Port the "do_populate_staging" to "do_populate_sysroot" change from 
   Poky to OE.dev
f) Enable packaged staging as default.


Cheers,

Richard








More information about the Openembedded-devel mailing list