Commit c669c87
committed
rootfs: strip mmdebstrap's apt proxy so it doesn't ship in the image
When a CI runner sets APT_PROXY_ADDR (from the runner map, or derived from an
ambient http_proxy), rootfs-create routes mmdebstrap's bootstrap through it via
--aptopt. mmdebstrap persists that aptopt as /etc/apt/apt.conf.d/99mmdebstrap
inside the target rootfs — and nothing removed it, so the build-host proxy
(e.g. http://10.0.40.2:3142) shipped in the final image. On the user's machine
that proxy is meaningless/unreachable, so their apt update hangs or fails.
Confirmed in a published rootfs artifact: 99mmdebstrap contained
`Acquire::http::Proxy "http://10.0.40.2:3142";`.
Remove it in the existing post-mmdebstrap cleanup, next to the 99-armbian-sandbox
removal (also build-time only).
Signed-off-by: Igor Pecovnik <igor@armbian.com>1 parent 666402b commit c669c87
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
0 commit comments