commit | 58cb3adfaa1276692593938c755a370d9d43427b | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Thu Apr 30 13:04:58 2020 +0800 |
committer | Joel Stanley <joel@jms.id.au> | Tue Jun 02 01:28:00 2020 +0000 |
tree | 5cc0eece31bcda46421c2ecd43e88f7717b38075 | |
parent | 8b9f4e8b579592a71ef2f88eb3df7ebe7efd4e1a [diff] |
build-setup: Add .wgetrc and .curlrc Some repos invokes wget or curl to download files during the configure or compile time. From Yocto's wiki: https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy > Proxy environment variables are not propagated to all stages of the > Yocto build process so sometimes wget cannot pick them up. The workaround is to add .wgetrc and .curlrc to force wget/curl to use the proxy. Be noted that it sets .rc files in ${HOME}. So if ${HOME} is shared between different projects it will affect other projects. But the script already sets ~/.subversion/servers, so this change just follows the solution. It's suggested to use a separated ${HOME} for projects that require proxy. Tested: Set the proxy and verify the build is OK. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Id237ca84c3fa749bf2c473e94bc0466a9b386d02
Build script for CI jobs in Jenkins.