diff options
author | Chin Huat Ang <chin.huat.ang@intel.com> | 2019-11-06 17:37:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-07 19:47:27 +0000 |
commit | 2f7d98b67ef0575e80a8ab7cde21766eb9339c65 (patch) | |
tree | fb87aeae50e21f22e6c2c72e278b5d593e6c2068 /meta/recipes-core/initscripts | |
parent | f252a1286a5ac6a79202ab6c7ef44328d5a153c3 (diff) | |
download | poky-2f7d98b67ef0575e80a8ab7cde21766eb9339c65.tar.gz |
cve-update-db-native: fix https proxy issues
When https_proxy is set, use proxy opener to open CVE metadata and
database URLs, otherwise fallback to the urllib.request.urlopen.
Also fix a minor issue where the json database which has been gzip
decompressed as byte object should be decoded as utf-8 string as
expected by update_db.
(From OE-Core rev: 95438d52b732bec217301fbfc2fb019bbc3707c8)
(From OE-Core rev: 6d3222fb7ecde524c4e033729318fb0fb80a444c)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initscripts')
0 files changed, 0 insertions, 0 deletions