All of lore.kernel.org
 help / color / mirror / Atom feed
* Source distribution broken?
@ 2010-11-24  8:17 Anders Törnqvist
  2010-12-16  4:35 ` Michael Poole
  0 siblings, 1 reply; 5+ messages in thread
From: Anders Törnqvist @ 2010-11-24  8:17 UTC (permalink / raw)
  To: openembedded-devel

Hi,

Is the source distribution functionality broken?

This is set in local.conf:
SRC_DIST_LOCAL = "copy"
INHERIT += "src_distribute_local"

New checkout of OE from git.
Have tried different builds for MACHINE=beagleboard and images minimal-image and
base-image.

The only thing that is stored in the TMPDIR/deploy/glibc/sources is a MIT
directory with the minimal-image/minimal-image.bb file.


In src_distribute.bbclass there is a line
addtask distribute_sources before do_build after do_fetch
Does do_build actually get run for every task?

If set to something else instead of "do_build" like "do_compile" will trigger a
lot of src_distribute calls and copying of files for a lot of licenses to
TMPDIR/deploy/glibc/sources.

Any ideas?

/Anders




^ permalink raw reply	[flat|nested] 5+ messages in thread
* Source distribution broken?
@ 2010-12-19 17:41 Denis Dydychkin
  0 siblings, 0 replies; 5+ messages in thread
From: Denis Dydychkin @ 2010-12-19 17:41 UTC (permalink / raw)
  To: openembedded-devel



> Is the source distribution functionality broken?

> The only thing that is stored in the TMPDIR/deploy/glibc/sources is a MIT
> directory with the minimal-image/minimal-image.bb file.

> If set to something else instead of "do_build" like "do_compile" will trigger a
> lot of src_distribute calls and copying of files for a lot of licenses to
> TMPDIR/deploy/glibc/sources.

Try bitbake minimal-image -c buildall

As far as I got it, do_build target is *not* invoked for each dependent package while building image since it is not required (unlike do_compile which is required). To ensure that do_build is called for each packet belonging to image, you should use do_buildall target for whole image.

I suppose (never tried) that calling bitbake minimal-image -c distribute_sources_all is enough to generate sources if you just need them.



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

end of thread, other threads:[~2010-12-30 16:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24  8:17 Source distribution broken? Anders Törnqvist
2010-12-16  4:35 ` Michael Poole
2010-12-16  5:08   ` Khem Raj
2010-12-30 16:56     ` Anders Törnqvist
  -- strict thread matches above, loose matches on Subject: below --
2010-12-19 17:41 Denis Dydychkin

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.