[OE-core] what's the easiest way to see the difference some local configuration makes?

Saul Wold sgw at linux.intel.com
Sat Jul 7 16:06:47 UTC 2012


On 07/07/2012 08:43 AM, Robert P. J. Day wrote:
>
>    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]
>
Have you tried bitbake -e which prints out all the variables and python 
functions, you can then grep for ^IMAGE_INSTALL or what ever you expect 
to affect by your change

Sau!

> 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
>





More information about the Openembedded-core mailing list