diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-01-27 14:50:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:00 +0000 |
commit | 70814586bb11c8f1aeb4c991f44cd52542159a91 (patch) | |
tree | 5d07a150b3131b1b502378b0d8fe27dfea3d47ab /meta/recipes-core | |
parent | d74325e22ed81e49eec63335fd0f4b789f9dfc21 (diff) | |
download | poky-70814586bb11c8f1aeb4c991f44cd52542159a91.tar.gz |
buildhistory: fix the check for existence of a git repo
Previously, in order to determine the existence of an already
initialized Git repository we checked if a directory named '.git' was
present in the buildhistory dir. However, e.g. in the case of git
submodules '.git' may also be a regular file referencing some other
location which was causing unwanted behavior. This patch changes
buildhistory.bbclass to check for any file named '.git' which fixes
these problems.
[YOCTO #8911]
(From OE-Core rev: a5e931e0b1d941cc938fe2f49625c54b07fab0ce)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions