[OE-core] adding a single package to an image -- what's the proper way?

Robert P. J. Day rpjday at crashcourse.ca
Tue Mar 27 12:20:11 UTC 2012


  i'm currently poring over the OE docs (including the ones at the
yocto site), and i'm trying to figure out how to simply add a package
to an image through one's local.conf file.

  the current yocto ref manual has an entire section about customizing
images:

http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#usingpoky-extend-customimage

but it discusses creating custom recipe files and custom tasks, and
using IMAGE_INSTALL and IMAGE_FEATURES and EXTRA_IMAGE_FEATURES, and
finally gets into using local.conf, suggesting:

  DISTRO_EXTRA_RDEPENDS += "strace"

is that, in fact, the accepted way if one simply wants to add a
package to an existing image build?  because as soon as the manual
mentions it, in the very next paragraph, it discourages its use.

  so what's the story?  it seems it should be a lot easier to figure
out how to do something that straightforward.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list