generic-poky/meta
Richard Purdie c0a2268ae8 externalsrc: Use git add -A for compatibility with all git versions
I've been debugging a selftest failure on Centos7. The problem turns out
to be the elderly git version (1.8.3.1) on those systems. It means that
the system doesn't correctly checksum changed files in the source tree,
which in turn means do_compile fails to run and this leads to the following
selftest failure:

======================================================================
FAIL [141.373s]: test_devtool_buildclean (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py", line 530, in test_devtool_buildclean
    assertFile(tempdir_mdadm, 'mdadm')
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py", line 497, in assertFile
    self.assertTrue(os.path.exists(f), "%r does not exist" % f)
AssertionError: False is not true : '/tmp/devtoolqag88s39z8/mdadm' does not exist

The solution is to use -A on the git add commandline which matches the behaviour
in git 2.0+ versions and resolves the problem.

(From OE-Core rev: 964e8b8cae4b28e21ade12b5effb494e459b1f0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-22 11:35:22 +00:00
..
classes externalsrc: Use git add -A for compatibility with all git versions 2017-03-22 11:35:22 +00:00
conf bitbake.conf: remove vi from HOSTTOOLS list 2017-03-22 11:35:21 +00:00
files fs-perms.txt: Two cleanup tweaks for consistency. 2017-03-17 16:53:05 +00:00
lib wic: selftest: add tests for --fixed-size partition flags 2017-03-22 11:35:22 +00:00
recipes-bsp u-boot-fw-utils: reuse the same override HOSTCC patch as u-boot-mkimage 2017-03-17 16:53:06 +00:00
recipes-connectivity openssl: Fix build with clang 2017-03-22 11:35:21 +00:00
recipes-core ovmf: fix toolchain selection 2017-03-22 11:35:22 +00:00
recipes-devtools libcomps: Fix/optimize building with clang 2017-03-22 11:35:22 +00:00
recipes-extended acpitests: Point Makefile CC to use OE synthesized CC 2017-03-22 11:35:21 +00:00
recipes-gnome nativesdk-packagegroup-sdk-host: replace smartpm with dnf 2017-03-14 14:42:17 +00:00
recipes-graphics xserver-xf86-config: Remove X server module preload 2017-03-17 16:53:05 +00:00
recipes-kernel lttng-modules: Replace '/lib' with ${nonarch_base_libdir} 2017-03-22 11:35:20 +00:00
recipes-lsb4 libpng12: Use rm instead of unlink 2017-03-10 14:50:11 +00:00
recipes-multimedia meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME) 2017-03-22 11:35:19 +00:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix build on aarch64 2017-03-17 16:53:05 +00:00
recipes-support gpgme: Avoid requiring a host C++ compiler with C++11 support 2017-03-22 11:35:21 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00