dCore Import Debian Packages to Mountable SCE extensions > dCore X86

http proxy issues

(1/3) > >>

godiedelriver:
Hi everybody, I've just installed dCore with jessie images (base and kernel).
To begin with, I set http_proxy with
export http_proxy=http://...
Next I searched for some software with sce-import but something went wrong as it shown in the attached image.
Digging into the sce-import source code I think the problem is when debGetEnv is called with sudo, as the environment variables are not propagated.
Does anyone know a workaround for this?
Thanks in advance

Jason W:
dCore uses busybox wget, which at least does not seem to use the same syntax of the http_proxy variable. 
I will look into how this can be supported.

godiedelriver:
Hi Jason, I've managed to get google.com index page using dCore wget, however. Please, look at the attached image.

Jason W:
Ok, thanks, I see the variable is the same for busybox wget.  I remember having to export the shell variable to sudo in another function, and it will probably work in this case too.  I will aim to test it tonight.

Jason W:
I see that using the command "sudo -E" passes the user environment to sudo.  But when using the command "sudo -E debGetEnv" it says file not found by wget trying to download something from repo.tinycorelinux.net when a web proxy is specified with http_proxy=.  Other commands used with "sudo -E" work as far as the preserved environment variables.  I will look into it a little more.

Navigation

[0] Message Index

[#] Next page

Go to full version