]> code.ossystems Code Review - openembedded-core.git/commitdiff
cargo_common: remove http_proxy
authorRandy MacLeod <Randy.MacLeod@windriver.com>
Thu, 19 Aug 2021 22:49:25 +0000 (18:49 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Aug 2021 21:09:24 +0000 (22:09 +0100)
Fix the test_sstate_noop_samesigs oe-selftest that
produces an error like:

   core2-64-poky-linux/libstd-rs/1.54.0-r0.do_configure.sigdata differs:
   basehash changed from <hash-a> to <hash-b>
   Variable http_proxy value changed from '' to 'http://example.com/'

by simply removing the proxy config option. This may be added back
after merge to oe-core if needed and if the diffsigs check passes.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cargo_common.bbclass

index b0b039a22e32c464f53aa109e5689b21fc4bf716..23d82aa6ab25300a5d1182740d7a7636adf3aa18 100644 (file)
@@ -67,10 +67,6 @@ cargo_common_do_configure () {
 
        EOF
 
-       if [ -n "${http_proxy}" ]; then
-               echo "proxy = \"${http_proxy}\"" >> ${CARGO_HOME}/config
-       fi
-
        cat <<- EOF >> ${CARGO_HOME}/config
 
        # HOST_SYS