From: Richard Purdie Date: Wed, 24 Jun 2020 14:39:15 +0000 (+0100) Subject: scripts/install-buildtools: Update to 3.2 M1 buildtools X-Git-Tag: 2020-04.2-dunfell~70 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bef009c91e8acfc7c1ba3cfd3183f000a02e002b;p=openembedded-core.git 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. Signed-off-by: Richard Purdie (cherry picked from commit bc8b44e19a05f499f5cef049eedbed1fede2e765) Signed-off-by: Steve Sakoman --- 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) DEFAULT_INSTALL_DIR = os.path.join(os.path.split(scripts_path)[0],'buildtools') DEFAULT_BASE_URL = 'http://downloads.yoctoproject.org/releases/yocto' -DEFAULT_RELEASE = 'yocto-3.1' -DEFAULT_INSTALLER_VERSION = '3.1' -DEFAULT_BUILDDATE = '' +DEFAULT_RELEASE = 'yocto-3.2_M1' +DEFAULT_INSTALLER_VERSION = '3.1+snapshot' +DEFAULT_BUILDDATE = '20200617' # Python version sanity check if not (sys.version_info.major == 3 and sys.version_info.minor >= 4): @@ -227,7 +227,7 @@ def main(): if args.check: logger.info("Fetching buildtools installer checksum") checksum_type = "" - for checksum_type in ["md5sum", "sha256"]: + for checksum_type in ["md5sum", "sha256sum"]: check_url = "{}.{}".format(buildtools_url, checksum_type) checksum_filename = "{}.{}".format(filename, checksum_type) tmpbuildtools_checksum = os.path.join(tmpsdk_dir, checksum_filename)