diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-04 11:49:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-08 11:20:14 +0100 |
commit | 47309419d3da43c7ceff5857df3a64bc23cb2b6b (patch) | |
tree | 2cea0e943fd669ad2c052abbb654f0130c7161d9 /meta | |
parent | 6686f75b353421ee9697bcf45eb28a9b33221dd2 (diff) | |
download | ast2050-yocto-poky-47309419d3da43c7ceff5857df3a64bc23cb2b6b.zip ast2050-yocto-poky-47309419d3da43c7ceff5857df3a64bc23cb2b6b.tar.gz |
sanity.bbclass: Update minimum git version to 1.7.8
To quote "Maxin B. John" <maxin.john@enea.com>:
git version 1.7.8 added the --list option to git-branch. Since we depend on this
option in git.py, the minimum requiremnt for git should be updated to Git
1.7.8+
(From OE-Core rev: a5776ae532d6af1e880ab1a712dc768c900f88db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sanity.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 4b42b17..ed65814 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -386,15 +386,15 @@ def check_tar_version(sanity_data): return "Your version of tar is older than 1.24 and has bugs which will break builds. Please install a newer version of tar.\n" return None -# We use git parameters and functionality only found in 1.7.5 or later +# We use git parameters and functionality only found in 1.7.8 or later def check_git_version(sanity_data): from distutils.version import LooseVersion status, result = oe.utils.getstatusoutput("git --version 2> /dev/null") if status != 0: return "Unable to execute git --version, exit code %s\n" % status version = result.split()[2] - if LooseVersion(version) < LooseVersion("1.7.5"): - return "Your version of git is older than 1.7.5 and has bugs which will break builds. Please install a newer version of git.\n" + if LooseVersion(version) < LooseVersion("1.7.8"): + return "Your version of git is older than 1.7.8 and has bugs which will break builds. Please install a newer version of git.\n" return None # Check the required perl modules which may not be installed by default |