Openembedded Core Discussions
 help / color / mirror / Atom feed
* what's the easiest way to see the difference some local configuration makes?
@ 2012-07-07 15:43 Robert P. J. Day
  2012-07-07 16:06 ` Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2012-07-07 15:43 UTC (permalink / raw)
  To: OE Core mailing list


  i recall that there's a current request to be able to list the
packages and versions that relate *just* to the current target and
machine, so i'm looking for any other way to do this so students can
see the difference for themselves.

  for example, i'm starting with a configuration of "qemuarm", and i
can do a fetchall:

$ bitbake -c fetchall core-image-minimal

and let that run.  so far, so good -- i've now fetched everything
required for this target.  if i repeat that command, obviously,
nothing should change, and it doesn't.  (i don't even have to build
the target, i'm just doing fetching for now.)

  now let's say i add to my local.conf:

IMAGE_INSTALL_append = " strace"

i suspect there's an easier way to see this, but if i want to *prove*
that the strace recipe would be part of the build, i can do:

$ bitbake -c fetchall -n core-image-minimal     [dry run]

to get:

... snip ...
NOTE: Running task 302 of 309 (ID: 21, /home/rpjday/oe/oe-core/meta/recipes-devtools/strace/strace_4.7.bb, do_fetch)
NOTE: Running task 309 of 309 (ID: 1, /home/rpjday/oe/oe-core/meta/recipes-core/images/core-image-minimal.bb, do_fetchall)
NOTE: Tasks Summary: Attempted 309 tasks of which 307 didn't need to be rerun and all succeeded.
$

  so that's "proof" that i've officially added strace to my
core-image-minimal.

  i'm sure that's massive overkill -- is there a simpler way to
demonstrate this?  i want to start simple by adding a single package,
then move on to adding multiple packages, and features and so on, and
let the student see the effect of each change.

  what's the easiest way to do that?  thanks.

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] 4+ messages in thread

end of thread, other threads:[~2012-07-08 10:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-07 15:43 what's the easiest way to see the difference some local configuration makes? Robert P. J. Day
2012-07-07 16:06 ` Saul Wold
2012-07-07 16:13   ` Robert P. J. Day
2012-07-08  9:57     ` Andrei Gherzan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox