live-build/functions
Roland Clobus d6a5a1f3cf
Simpler handling of http proxies
There are two main scenarios:
1) The host with live-build is configured to use a proxy
   This proxy will automatically be used by live-build
2) The user of live-build explicitly specifies a proxy
2A) With the environment variable 'http_proxy' (preferred)
2B) With the command line option --apt-http-proxy

Any inconsistency in the setting of a proxy results in an error message of 'lb config'
All internal tools (apt/apt-get/aptitude, wget and debootstrap) use the environment variables 'http_proxy' and 'no_proxy', which are passed along to the chroot where needed.

Test scenario:
- A virtual machine with all out-going traffic blocked, except for the proxy.
2021-09-23 13:53:49 +02:00
..
aliases.sh fix $@ parameter expansion issues 2020-04-23 09:38:01 +00:00
architectures.sh architectures.sh: armhf/armel can be built on arm64 2020-06-01 07:49:56 -07:00
arguments.sh fix usage/help/man bugs 2020-05-03 01:38:17 +01:00
breakpoints.sh use local scope for private function vars 2020-03-16 22:10:03 +00:00
cache.sh Restore_package_cache: Handle existing but empty packages directory 2021-02-04 12:37:46 -08:00
chroot.sh Simpler handling of http proxies 2021-09-23 13:53:49 +02:00
chroot_bind_path.sh use local scope for private function vars 2020-03-16 22:10:03 +00:00
color.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
common.sh fix usage/help/man bugs 2020-05-03 01:38:17 +01:00
compatibility.sh Added the option to include files before and after package installation 2020-10-27 15:07:11 +00:00
conffile.sh config: tweak config file loading order 2020-05-02 20:44:02 +01:00
configuration.sh Simpler handling of http proxies 2021-09-23 13:53:49 +02:00
echo.sh tidy up Echo_breakage() 2020-05-02 13:06:17 +01:00
exit.sh exit.sh: fix selinux mountpoint 2021-01-14 01:44:30 +01:00
firmwarelists.sh Firmware download: skip architecture if not found 2021-04-02 16:57:33 +01:00
init.sh extend config validation to all build components 2020-05-04 13:26:19 +01:00
lockfile.sh locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
losetup.sh Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
man.sh fix usage/help/man bugs 2020-05-03 01:38:17 +01:00
packagelists.sh fix $@ parameter expansion issues 2020-04-23 09:38:01 +00:00
packages.sh packages.sh: check for /etc/debian_version existance rather than dpkg-query aviability 2021-01-13 12:39:07 +00:00
sourcelist.sh security: do not append /updates from bullseye onward 2021-03-30 15:30:32 +01:00
stagefile.sh improve stagefiles encapsulation 2020-05-02 14:49:45 +01:00
usage.sh Use descriptive parameter names for Usage() 2020-04-23 16:38:59 +02:00
wrapper.sh fix $@ parameter expansion issues 2020-04-23 09:38:01 +00:00