标签:not for elf 处理 verify settings cat chain ica
答: 在uboot源码的tools/buildman/toolchain.py中取消证书验证,修改内容如下:
diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchain.py index a65737fdf8..94877f1047 100644 --- a/tools/buildman/toolchain.py +++ b/tools/buildman/toolchain.py @@ -8,6 +8,7 @@ from HTMLParser import HTMLParser import os import sys import tempfile +import ssl import urllib2 import bsettings @@ -566,6 +567,7 @@ class Toolchains: # Fist get the URL for this architecture col = terminal.Color() print col.Color(col.BLUE, "Downloading toolchain for arch ‘%s‘" % arch) + ssl._create_default_https_context = ssl._create_unverified_context url = self.LocateArchUrl(arch) if not url: print ("Cannot find toolchain for arch ‘%s‘ - use ‘list‘ to list" %
标签:not for elf 处理 verify settings cat chain ica
原文地址:https://www.cnblogs.com/dakewei/p/11811334.html