diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-24 15:39:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-25 10:23:37 +0100 |
commit | 1dc6c9f5dc2429df5941b4d804d6ba34dc7b922c (patch) | |
tree | 626ca1a3fb7eabcb96a839b30d964f4b6a6135ab | |
parent | 38d4e3725981c9f285496cda506989a6f1173131 (diff) | |
download | poky-1dc6c9f5dc2429df5941b4d804d6ba34dc7b922c.tar.gz |
scripts/install-buildtools: Update to 3.2 M1 buildtools
This fixes issues with openssl certs not working properly which meant error
reporting to an error report server was failing.
Also, all our downloads are now standarised on "sha256sum" so adjust for that.
(From OE-Core rev: bc8b44e19a05f499f5cef049eedbed1fede2e765)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/install-buildtools | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/install-buildtools b/scripts/install-buildtools index 69ce9a1f05..5538ff7047 100755 --- a/scripts/install-buildtools +++ b/scripts/install-buildtools | |||
@@ -57,9 +57,9 @@ logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout) | |||
57 | 57 | ||
58 | DEFAULT_INSTALL_DIR = os.path.join(os.path.split(scripts_path)[0],'buildtools') | 58 | DEFAULT_INSTALL_DIR = os.path.join(os.path.split(scripts_path)[0],'buildtools') |
59 | DEFAULT_BASE_URL = 'http://downloads.yoctoproject.org/releases/yocto' | 59 | DEFAULT_BASE_URL = 'http://downloads.yoctoproject.org/releases/yocto' |
60 | DEFAULT_RELEASE = 'yocto-3.1' | 60 | DEFAULT_RELEASE = 'yocto-3.2_M1' |
61 | DEFAULT_INSTALLER_VERSION = '3.1' | 61 | DEFAULT_INSTALLER_VERSION = '3.1+snapshot' |
62 | DEFAULT_BUILDDATE = '' | 62 | DEFAULT_BUILDDATE = '20200617' |
63 | 63 | ||
64 | # Python version sanity check | 64 | # Python version sanity check |
65 | if not (sys.version_info.major == 3 and sys.version_info.minor >= 4): | 65 | if not (sys.version_info.major == 3 and sys.version_info.minor >= 4): |
@@ -229,7 +229,7 @@ def main(): | |||
229 | if args.check: | 229 | if args.check: |
230 | logger.info("Fetching buildtools installer checksum") | 230 | logger.info("Fetching buildtools installer checksum") |
231 | checksum_type = "" | 231 | checksum_type = "" |
232 | for checksum_type in ["md5sum", "sha256"]: | 232 | for checksum_type in ["md5sum", "sha256sum"]: |
233 | check_url = "{}.{}".format(buildtools_url, checksum_type) | 233 | check_url = "{}.{}".format(buildtools_url, checksum_type) |
234 | checksum_filename = "{}.{}".format(filename, checksum_type) | 234 | checksum_filename = "{}.{}".format(filename, checksum_type) |
235 | tmpbuildtools_checksum = os.path.join(tmpsdk_dir, checksum_filename) | 235 | tmpbuildtools_checksum = os.path.join(tmpsdk_dir, checksum_filename) |