[OE-core] [PATCH v3 0/2] Improve externalsrc task dependency tracking

Markus Lehtonen markus.lehtonen at linux.intel.com
Tue Mar 22 16:01:08 UTC 2016


This iteration of divides the patchset into two parts.

The first patch only enables file-checksums tracking for git repositories. The
functionality is now changed so that a git tree hash of the work tree content
is written into a separate file which is checksummed by bitbake. It turns out
that checksumming git index file (done in v2 of the patchset) was not reliable
as its checksum might change without any changes in the work tree.

The first patch depends on a bitbake patch which introduces BB_DONT_CACHE
variable:
http://patchwork.openembedded.org/patch/118465/

The second patch enables source files tracking for non-Git source trees.  This
part is basically unchanged from v2 of the patchset. However, in order for it
to behave nicely another bitbake patch needs to be applied:
http://patchwork.openembedded.org/patch/118463/ The reason is that without this
bitbake patch the EXTERNALSRC_SYMLINKS in the source tree are causing a failure
in checksumming which, in turn, causes the build to fail.

If so desired, the first patch can be merged independently, leaving the non-Git
support for later time.

[YOCTO #8853]

The following changes since commit 9c200760cbbe322ed884729eb395f389c863e1c8:

  oe-buildenv-internal: Correct the sed expression which updates $PATH (2016-03-21 11:57:27 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib marquiz/devtool/fixes


Markus Lehtonen (2):
  externalsrc: do not use do_configure[nostamp] for git srctrees
  externalsrc: remove nostamp from do_configure

 meta/classes/externalsrc.bbclass | 31 +++++++++++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)

-- 
2.6.2



More information about the Openembedded-core mailing list