All of lore.kernel.org
 help / color / mirror / Atom feed
* dev manual section on "customizing images" needs serious adjustment
@ 2012-08-22 20:37 Robert P. J. Day
  2012-08-23  8:13 ` Tomas Frydrych
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2012-08-22 20:37 UTC (permalink / raw)
  To: Yocto discussion list


  from here:

http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#usingpoky-extend-customimage-custombb

a couple gripes.

  end of 4.2.1 suggests

  IMAGE_INSTALL += "strace"

when creating a new image .bb file.  as i read it, the docs currently
suggest

  IMAGE_INSTALL_append = " strace"

when adding to your local.conf, and i don't think it's sufficiently
clear to the reader the distinction between "+=" and "_append", and
when to use one or the other.  and reading the source doesn't help
since it bounces back and forth constantly.  is this clarified
anywhere?

  a bigger gripe for me is this:

One way to get additional software into an image is to create a
custom image. The following example shows the form for the two lines
you need:

     IMAGE_INSTALL = "task-core-x11-base package1 package2"

     inherit core-image

no.  that is not a way to get "additional" software into an image, it
is a way to *override* core-image.bbclass's conditional setting of:

  IMAGE_INSTALL ?= "${CORE_IMAGE_BASE_INSTALL}"

which i think is overly confusing.  in general, i'm really unhappy
with the number of image definitions that explicitly set
IMAGE_INSTALL, *then* inherit core-image.  the potential to mislead
the reader as to what's happening is really overwhelming.

rday

-- 

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

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-24 16:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 20:37 dev manual section on "customizing images" needs serious adjustment Robert P. J. Day
2012-08-23  8:13 ` Tomas Frydrych
2012-08-24 15:42   ` Scott Garman
2012-08-24 15:45     ` Robert P. J. Day
2012-08-24 16:30       ` Tomas Frydrych

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.