Set http_proxy to retrieve the signed Release file
This commit adds http_proxy=$http_proxy to use apt-get update through a http-proxy. Change-Id: Iee589f6d11b84991512493d22f0e3dbfe60736ec Closes-Bug: #1412314
This commit is contained in:
parent
af4b290328
commit
be95738739
@ -66,7 +66,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Need to update to retrieve the signed Release file
|
# Need to update to retrieve the signed Release file
|
||||||
sudo chroot ${TARGET_ROOT} apt-get update
|
sudo sh -c "http_proxy=$http_proxy chroot ${TARGET_ROOT} apt-get update"
|
||||||
|
|
||||||
CLOUD_INIT_PACKAGES="cloud-init cloud-utils cloud-initramfs-growroot"
|
CLOUD_INIT_PACKAGES="cloud-init cloud-utils cloud-initramfs-growroot"
|
||||||
sudo sh -c "http_proxy=$http_proxy chroot ${TARGET_ROOT} apt-get install -y $apt_get_bp_extra_opts $CLOUD_INIT_PACKAGES"
|
sudo sh -c "http_proxy=$http_proxy chroot ${TARGET_ROOT} apt-get install -y $apt_get_bp_extra_opts $CLOUD_INIT_PACKAGES"
|
||||||
|
Loading…
Reference in New Issue
Block a user