diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-24 15:39:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-02 16:12:37 +0100 |
commit | bceae9e7dee9caed3ea29a576a1b5a680b8c149d (patch) | |
tree | 99685e61e93a27ada75095bd77934ce99e0e3562 /scripts | |
parent | 21b666b47b95f2962921243ee054b77f37bffb23 (diff) | |
download | poky-bceae9e7dee9caed3ea29a576a1b5a680b8c149d.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: bef009c91e8acfc7c1ba3cfd3183f000a02e002b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc8b44e19a05f499f5cef049eedbed1fede2e765)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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 a9173fa096..1a458a2cc7 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): |
@@ -227,7 +227,7 @@ def main(): | |||
227 | if args.check: | 227 | if args.check: |
228 | logger.info("Fetching buildtools installer checksum") | 228 | logger.info("Fetching buildtools installer checksum") |
229 | checksum_type = "" | 229 | checksum_type = "" |
230 | for checksum_type in ["md5sum", "sha256"]: | 230 | for checksum_type in ["md5sum", "sha256sum"]: |
231 | check_url = "{}.{}".format(buildtools_url, checksum_type) | 231 | check_url = "{}.{}".format(buildtools_url, checksum_type) |
232 | checksum_filename = "{}.{}".format(filename, checksum_type) | 232 | checksum_filename = "{}.{}".format(filename, checksum_type) |
233 | tmpbuildtools_checksum = os.path.join(tmpsdk_dir, checksum_filename) | 233 | tmpbuildtools_checksum = os.path.join(tmpsdk_dir, checksum_filename) |