summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2020-03-27 19:11:45 -0700
committerTim Orling <timothy.t.orling@linux.intel.com>2020-03-31 10:52:01 -0700
commit53f190a428cc1a0210817db239d63ce16f52e758 (patch)
tree42e31ed82505887af6d3ab0d81b0539dce82f018
parent285241372af043a6a265cc840be7f983c1c7ffcf (diff)
downloadopenembedded-core-contrib-53f190a428cc1a0210817db239d63ce16f52e758.tar.gz
openembedded-core-contrib-53f190a428cc1a0210817db239d63ce16f52e758.tar.bz2
openembedded-core-contrib-53f190a428cc1a0210817db239d63ce16f52e758.zip
sanity.bbclass: recommend using install-buildtools
For old tar version (< 1.28), recommend using scripts/install-buildtools Drop check for tar version 1.24. Dubious extra value. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
-rw-r--r--meta/classes/sanity.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index cca5cdad17..fef05fb012 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -532,10 +532,8 @@ def check_tar_version(sanity_data):
except subprocess.CalledProcessError as e:
return "Unable to execute tar --version, exit code %d\n%s\n" % (e.returncode, e.output)
version = result.split()[3]
- if LooseVersion(version) < LooseVersion("1.24"):
- return "Your version of tar is older than 1.24 and has bugs which will break builds. Please install a newer version of tar (1.28+).\n"
if LooseVersion(version) < LooseVersion("1.28"):
- return "Your version of tar is older than 1.28 and does not have the support needed to enable reproducible builds. Please install a newer version of tar (you could use the projects buildtools-tarball from our last release).\n"
+ return "Your version of tar is older than 1.28 and does not have the support needed to enable reproducible builds. Please install a newer version of tar (you could use the projects buildtools-tarball from our last release or use scripts/install-buildtools).\n"
return None
# We use git parameters and functionality only found in 1.7.8 or later