dpkg-source: Export proxy settings

Message ID 20251028013532.1388325-1-kazunori.kobayashi@miraclelinux.com
State New
Headers show
Series dpkg-source: Export proxy settings | expand

Commit Message

Kazunori Kobayashi Oct. 28, 2025, 1:35 a.m. UTC
This sets proxy environment variables to be passed to schroot.

Signed-off-by: Kazunori Kobayashi <kazunori.kobayashi@miraclelinux.com>
---
 meta/classes/dpkg-source.bbclass | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/classes/dpkg-source.bbclass b/meta/classes/dpkg-source.bbclass
index 4877abd6..a16e5812 100644
--- a/meta/classes/dpkg-source.bbclass
+++ b/meta/classes/dpkg-source.bbclass
@@ -65,6 +65,8 @@  do_fetch_common_source() {
     trap 'exit 1' INT HUP QUIT TERM ALRM USR1
     trap 'schroot_cleanup' EXIT
 
+    E="${@ isar_export_proxies(d)}"
+
     schroot -r -c ${session_id} -d / -u root -- \
         apt-get update -o Dir::Etc::SourceList="sources.list.d/isar-apt.list" -o Dir::Etc::SourceParts="-" -o APT::Get::List-Cleanup="0"
     schroot -r -c ${session_id} -d / -- \