[Pkg-ltsp-devel] Bug#766460: ltsp-client-builder: Need to set web proxy environment in postinst

Petter Reinholdtsen pere at hungry.com
Thu Oct 23 19:26:28 UTC 2014


[Vagrant Cascadian]
> I don't think this is appropriate to fix in ltsp-client-builder, as it
> won't work when running outside of debian-installer.

I thought ltsp-client-builder was a udeb only to be used inside
debian-installer?  In what other environment is ltsp-client-builder
used?

> I'd suggest fixing the above 000-arch-detection script to set the proxy
> in the same way the http-proxy plugin is doing:
> 
>         if [ -z "$http_proxy" ]; then
>                 eval $(apt-config shell http_proxy acquire::http::proxy)
>                 [ "$http_proxy" = "false" ] && http_proxy=""
>                 export http_proxy
>         fi

Good idea.

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-ltsp-devel mailing list