Added 'ftp_proxy' environment variable support

Some bitbake recipes use FTP to fetch objects. This patch adds support
for the ftp_proxy variable to kas. Is now usable in the same manner as
the 'http_proxy' variable

Signed-off-by: Claudius Heine <ch@denx.de>
This commit is contained in:
Claudius Heine
2017-10-16 10:04:24 +02:00
committed by Daniel Wagner
parent f140d7905c
commit 845d212f02
4 changed files with 6 additions and 1 deletions

View File

@@ -146,6 +146,7 @@ class Config:
proxy_config.get(var_name, ''))
for var_name in ['http_proxy',
'https_proxy',
'ftp_proxy',
'no_proxy']}
def get_repos(self):

View File

@@ -161,6 +161,9 @@ CONFIGSCHEMA = {
'https_proxy': {
'type': 'string',
},
'ftp_proxy': {
'type': 'string',
},
'no_proxy': {
'type': 'string',
},