i think it would be risky to copy all apt configuration files into the
chroot environment. some programs drop files into /etc/apt/apt.conf.d
that may behave undesireably if not installed in the chroot.

there are so many possible settings in /etc/apt/apt.conf and
/etc/apt/apt.conf.d/* ... there's a moderate possibility you might pull
something undesired into the chroot environment.

for grabbing the proxy setting, we could do something like:

  http_proxy=$(apt-config dump | egrep Acquire::http::Proxy | sed -e
's,^Acquire::http::Proxy ",,g' | tr '";' ' ')

and if http_proxy is set, dump it into the chroot's /etc/apt/apt.conf.d
/proxy-guess-ltsp near the end of the install.

something like that, more or less...

live well,
  vagrant

-- 
[Gutsy] Proxy not working with ltsp-build-client
https://bugs.launchpad.net/bugs/132397
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to