Openembedded Core Discussions
 help / color / mirror / Atom feed
* how much can bitbake tell me about my upcoming build?
@ 2012-03-27 21:48 Robert P. J. Day
  2012-03-27 23:19 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2012-03-27 21:48 UTC (permalink / raw)
  To: OE Core mailing list


  so, let's say i've decided to use oe-core to build a qemux86 image:

$ . oe-core/oe-init-build-env builds/qemux86

before i go *any* further (before i even decide which image i'm going
to bake), how much can bitbake tell me about this configuration?

  i know

$ bitbake -e

can tell me my current environment, that's certainly useful.

  i can also use

$ bitbake -s

to show me the current and preferred versions of all packages (related
strictly to the current MACHINE setting in local.conf, correct?)

  what other info can i get out of bitbake?  what about image-specific
info?  is there a way to list the packages required for a given image?
some equivalent of

$ bitbake -s core-image-sato

  what about a command that lists the available images without having
to peruse the oe-core "images" directories?  and what about any of the
other bitbake-related utilities?  i can see "bitbake-layers" being
pretty useful.

  in short, without starting an actual build, how much information can
i extract using bitbake and bitbake-related utilities?

rday

p.s.  one thing i'd like is to be able to ask how much source i would
need to download for a given build before i start.  is there any way
to do that?

-- 

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

* Re: how much can bitbake tell me about my upcoming build?
  2012-03-27 21:48 how much can bitbake tell me about my upcoming build? Robert P. J. Day
@ 2012-03-27 23:19 ` Richard Purdie
  2012-03-27 23:41   ` Robert P. J. Day
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2012-03-27 23:19 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2012-03-27 at 17:48 -0400, Robert P. J. Day wrote:
> so, let's say i've decided to use oe-core to build a qemux86 image:
> 
> $ . oe-core/oe-init-build-env builds/qemux86
> 
> before i go *any* further (before i even decide which image i'm going
> to bake), how much can bitbake tell me about this configuration?
> 
>   i know
> 
> $ bitbake -e
> 
> can tell me my current environment, that's certainly useful.
> 
>   i can also use
> 
> $ bitbake -s
> 
> to show me the current and preferred versions of all packages (related
> strictly to the current MACHINE setting in local.conf, correct?)
> 
>   what other info can i get out of bitbake?  what about image-specific
> info?  is there a way to list the packages required for a given image?
> some equivalent of
> 
> $ bitbake -s core-image-sato
> 
>   what about a command that lists the available images without having
> to peruse the oe-core "images" directories?  and what about any of the
> other bitbake-related utilities?  i can see "bitbake-layers" being
> pretty useful.
> 
>   in short, without starting an actual build, how much information can
> i extract using bitbake and bitbake-related utilities?

Well, there are:

bitbake -g (and look at task-depends.dot)
bitbake -g -u depexp
bitbake core-image-sato -n (dry run)

which will give some interesting info.

> p.s.  one thing i'd like is to be able to ask how much source i would
> need to download for a given build before i start.  is there any way
> to do that?

Not that I'm aware of since the SRC_URIs don't say how big a download
is, nor are they ever likely to.

Cheers,

Richard




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

* Re: how much can bitbake tell me about my upcoming build?
  2012-03-27 23:19 ` Richard Purdie
@ 2012-03-27 23:41   ` Robert P. J. Day
  0 siblings, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2012-03-27 23:41 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 28 Mar 2012, Richard Purdie wrote:

> Well, there are:
>
> bitbake -g (and look at task-depends.dot)
> bitbake -g -u depexp
> bitbake core-image-sato -n (dry run)
>
> which will give some interesting info.

  yup, i'd already run across those and made a note of them.

> > p.s.  one thing i'd like is to be able to ask how much source i would
> > need to download for a given build before i start.  is there any way
> > to do that?
>
> Not that I'm aware of since the SRC_URIs don't say how big a
> download is, nor are they ever likely to.

  sorry, i phrased that badly, i didn't expect there would be any way
to get the *amount* of source, i was just wondering about getting a
list of the source that would need to be fetched, but i guess doing a
fetchall/dryrun would tell me 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] 3+ messages in thread

end of thread, other threads:[~2012-03-27 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-27 21:48 how much can bitbake tell me about my upcoming build? Robert P. J. Day
2012-03-27 23:19 ` Richard Purdie
2012-03-27 23:41   ` Robert P. J. Day

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