linaro-image-tools & proxy problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Medium
|
Guilherme Salgado |
Bug Description
This problem is somehow also related to the bug #670711 (linaro-
When using the linaro-media-create script for ux500 platform, there is some apt-get commands that can't be fullfilled due to the missing http_proxy env variable.
A possible solution proposed by asac was to use a new SUDO="sudo -E" and ${SUDO} variable in the linaro-media-create script + copying the needed apt.conf file and apt.conf.d directory to the chroot environnment.
Example of l-m-c output for ux500 used behind a proxy:
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Setting up devio (1.2-1build1) ...
Setting up flash-kernel (2.28ubuntu10) ...
Setting up linux-firmware (1.38) ...
Setting up linux-image-
Done
Cleaning up ...W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
etc....
Changed in linaro-image-tools: | |
assignee: | nobody → Guilherme Salgado (salgado) |
status: | Triaged → In Progress |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Committed |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
I don't see why apt.conf file and apt.conf.d need to be copied to the chroot -- shouldn't it be enough to just use 'sudo -E'?