diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-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 1feb7949da..1410af2901 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -462,7 +462,7 @@ def check_make_version(sanity_data): | |||
462 | from distutils.version import LooseVersion | 462 | from distutils.version import LooseVersion |
463 | status, result = oe.utils.getstatusoutput("make --version") | 463 | status, result = oe.utils.getstatusoutput("make --version") |
464 | if status != 0: | 464 | if status != 0: |
465 | return "Unable to execute make --version, exit code %s\n" % status | 465 | return "Unable to execute make --version, exit code %d\n" % status |
466 | version = result.split()[2] | 466 | version = result.split()[2] |
467 | if LooseVersion(version) == LooseVersion("3.82"): | 467 | if LooseVersion(version) == LooseVersion("3.82"): |
468 | # Construct a test file | 468 | # Construct a test file |
@@ -498,7 +498,7 @@ def check_tar_version(sanity_data): | |||
498 | from distutils.version import LooseVersion | 498 | from distutils.version import LooseVersion |
499 | status, result = oe.utils.getstatusoutput("tar --version") | 499 | status, result = oe.utils.getstatusoutput("tar --version") |
500 | if status != 0: | 500 | if status != 0: |
501 | return "Unable to execute tar --version, exit code %s\n" % status | 501 | return "Unable to execute tar --version, exit code %d\n" % status |
502 | version = result.split()[3] | 502 | version = result.split()[3] |
503 | if LooseVersion(version) < LooseVersion("1.24"): | 503 | if LooseVersion(version) < LooseVersion("1.24"): |
504 | 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" | 504 | 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" |
@@ -511,7 +511,7 @@ def check_git_version(sanity_data): | |||
511 | from distutils.version import LooseVersion | 511 | from distutils.version import LooseVersion |
512 | status, result = oe.utils.getstatusoutput("git --version 2> /dev/null") | 512 | status, result = oe.utils.getstatusoutput("git --version 2> /dev/null") |
513 | if status != 0: | 513 | if status != 0: |
514 | return "Unable to execute git --version, exit code %s\n" % status | 514 | return "Unable to execute git --version, exit code %d\n" % status |
515 | version = result.split()[2] | 515 | version = result.split()[2] |
516 | if LooseVersion(version) < LooseVersion("1.8.3.1"): | 516 | if LooseVersion(version) < LooseVersion("1.8.3.1"): |
517 | return "Your version of git is older than 1.8.3.1 and has bugs which will break builds. Please install a newer version of git.\n" | 517 | return "Your version of git is older than 1.8.3.1 and has bugs which will break builds. Please install a newer version of git.\n" |