1
0
Fork 0

Remove APT proxy feature because I don't need it

This commit is contained in:
Braiden Vasco 2017-07-02 07:02:58 +00:00
parent 63ff2fef6c
commit 9e7becc76d
4 changed files with 0 additions and 11 deletions

View file

@ -208,7 +208,6 @@ export IMG_NAME
export HOSTNAME
export USERNAME
export PASSWORD
export APT_PROXY
export STAGE
export STAGE_DIR

View file

@ -11,8 +11,6 @@ bootstrap() {
local ARCH
ARCH=$(dpkg --print-architecture)
export http_proxy=${APT_PROXY}
if [ "$ARCH" != "armhf" ]; then
local BOOTSTRAP_CMD=qemu-debootstrap
else

View file

@ -3,13 +3,6 @@
install -m 644 files/sources.list ${ROOTFS_DIR}/etc/apt/
install -m 644 files/raspi.list ${ROOTFS_DIR}/etc/apt/sources.list.d/
if [ -n "$APT_PROXY" ]; then
install -m 644 files/51cache ${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache
sed ${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache -i -e "s|APT_PROXY|${APT_PROXY}|"
else
rm -f ${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache
fi
on_chroot apt-key add - < files/raspberrypi.gpg.key
on_chroot << EOF
apt-get update

View file

@ -1 +0,0 @@
Acquire::http { Proxy "APT_PROXY"; };