summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-buildtools8
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
58DEFAULT_INSTALL_DIR = os.path.join(os.path.split(scripts_path)[0],'buildtools') 58DEFAULT_INSTALL_DIR = os.path.join(os.path.split(scripts_path)[0],'buildtools')
59DEFAULT_BASE_URL = 'http://downloads.yoctoproject.org/releases/yocto' 59DEFAULT_BASE_URL = 'http://downloads.yoctoproject.org/releases/yocto'
60DEFAULT_RELEASE = 'yocto-3.1' 60DEFAULT_RELEASE = 'yocto-3.2_M1'
61DEFAULT_INSTALLER_VERSION = '3.1' 61DEFAULT_INSTALLER_VERSION = '3.1+snapshot'
62DEFAULT_BUILDDATE = '' 62DEFAULT_BUILDDATE = '20200617'
63 63
64# Python version sanity check 64# Python version sanity check
65if not (sys.version_info.major == 3 and sys.version_info.minor >= 4): 65if 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)